Part Number Hot Search : 
K400110 1N943B BD46295G TC395CL MT16D232 BITSYXB BC263 MAX4763
Product Description
Full Text Search
 

To Download ALC5620 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ALC5620 i 2 s audio codec + voice pcm interface datasheet rev. 1.0 15 august 2007 track id: jatr-1076-21 realtek semiconductor corp. no. 2, innovation road ii, hsinchu science park, hsinchu 300, taiwan tel.: +886-3-578-0211. fax: +886-3-577-6047 www.realtek.com.tw www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface ii track id: jatr-1076-21 rev. 1.0 copyright ?2007 realtek semiconductor corp. a ll rights reserved. no part of this document may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language in any form or by any means without the written permissi on of realtek semiconductor corp. disclaimer realtek provides this document ?as is?, without wa rranty of any kind, neither expressed nor implied, including, but not limited t o, the particular pu rpose. realtek may make impr ovements and/or changes in this document or in the product described in this document at any time. this document could include technical inaccuracies or typographical errors. trademarks realtek is a trademark of realtek semiconductor cor poration. other names mentioned in this document are trademarks/registered trademarks of their respective owners. using this document this document is intended for the hardware and software engineer?s general information on the realtek ALC5620 audio codec ic. though every effort has been made to ensure th at this document is cu rrent and accurate, more information may have become available subsequent to the production of th is guide. in th at event, please contact your realtek representative for additional inform ation that may help in the development process. revision history revision release date summary 1.0 2007/08/15 first release www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface iii track id: jatr-1076-21 rev. 1.0 table of contents 1. general desc ription ............................................................................................................ ..................................1 2. features ....................................................................................................................... ..................................................2 3. system applications............................................................................................................ ...................................2 4. function block diagram......................................................................................................... ............................3 4.1. f unction b lock ............................................................................................................................... .........................3 4.2. a udio m ixer p ath ............................................................................................................................... ......................4 5. pin assignments ................................................................................................................ .........................................5 5.1. g reen p ackage and v ersion i dentification ........................................................................................................5 6. pin descriptions............................................................................................................... ..........................................6 6.1. d igital i/o p ins ............................................................................................................................... ..........................6 6.2. a nalog i/o p ins ............................................................................................................................... .........................6 6.3. f ilter /r eference ............................................................................................................................... .......................7 6.4. p ower /g round ............................................................................................................................... ...........................7 7. functional description......................................................................................................... ..............................8 7.1. p ower ............................................................................................................................... ..........................................8 7.2. r eset ............................................................................................................................... ...........................................8 7.2.1. power-on re set (por) ........................................................................................................... ...............................8 7.3. c locking ............................................................................................................................... .....................................9 7.3.1. phase-locked loop .............................................................................................................. ..................................9 7.3.2. i 2 c and stereo i 2 s.............................................................................................................................. ...................10 7.3.3. voice_i 2 s/pcm inte rface ................................................................................................................ .....................11 7.3.4. voice adc...................................................................................................................... ......................................11 7.4. d igital d ata i nterface ............................................................................................................................... .........12 7.4.1. stereo and voice i 2 s/pcm inte rface ................................................................................................................ ....12 7.5. a udio d ata p ath ............................................................................................................................... .....................15 7.5.1. stereo adc and voice adc....................................................................................................... ..........................15 7.5.2. stereo dac..................................................................................................................... ......................................15 7.5.3. voice to stereo digital path................................................................................................... ..............................15 7.5.4. voice dac...................................................................................................................... ......................................15 7.6. m ixers ............................................................................................................................... .......................................16 7.6.1. headphone mixer ................................................................................................................ .................................16 7.6.2. mono mixer..................................................................................................................... ...................................16 7.6.3. speaker mixer.................................................................................................................. .....................................17 7.6.4. adc record mixer ............................................................................................................... ................................17 7.7. a nalog a udio i nput p ath ............................................................................................................................... ......18 7.7.1. line input ..................................................................................................................... ........................................18 7.7.2. phone input .................................................................................................................... ......................................18 7.7.3. microphone input ............................................................................................................... ..................................18 7.8. a nalog a udio o utput d ata p ath .......................................................................................................................19 7.8.1. speaker output ................................................................................................................. ....................................19 7.8.2. headphone output............................................................................................................... .................................20 7.8.3. mono output .................................................................................................................... ..................................20 7.9. avc c ontrol ............................................................................................................................... ...........................21 7.10. h ardware s ound e ffects ............................................................................................................................... ......22 7.10.1. equalizer block................................................................................................................ ................................22 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface iv track id: jatr-1076-21 rev. 1.0 7.10.2. pseudo stereo and spatial 3d sound ............................................................................................. .................22 7.11. i 2 c c ontrol i nterface ............................................................................................................................... ...........23 7.11.1. addressing setting ............................................................................................................. ..............................23 7.11.2. complete data transfer ......................................................................................................... .........................23 7.12. o dd -a ddressed r egister a ccess .........................................................................................................................24 7.13. p ower m anagement ............................................................................................................................... ................24 7.14. gpio and i nterrupt ............................................................................................................................... ................25 8. mixer registers list........................................................................................................... ..................................26 8.1. r eg -00 h : r eset ............................................................................................................................... .........................26 8.2. r eg -02 h : s peaker o utput v olume .......................................................................................................................26 8.3. r eg -04 h : h eadphone o utput v olume .................................................................................................................27 8.4. r eg -08 h : p hone i nput /mono o utput v olume ...................................................................................................27 8.5. r eg -0a h : line_in v olume ............................................................................................................................... ....28 8.6. r eg -0c h : stereo dac v olume ..........................................................................................................................28 8.7. r eg -0e h : mic v olume ............................................................................................................................... ............29 8.8. r eg -10 h : mic r outing c ontrol ...........................................................................................................................29 8.9. r eg -12 h : adc r ecord g ain ............................................................................................................................... ...30 8.10. r eg -14 h : adc r ecord m ixer c ontrol ................................................................................................................31 8.11. r eg -18 h : v oice dac o utput v olume ..................................................................................................................31 8.12. r eg -1c h : o utput m ixer c ontrol ........................................................................................................................32 8.13. r eg -22 h : m icrophone c ontrol ............................................................................................................................33 8.14. r eg -26 h : p ower d own c ontrol /s tatus ..............................................................................................................33 8.15. r eg -34 h : m ain s erial d ata p ort c ontrol (s tereo i 2 s) ...................................................................................35 8.16. r eg -36 h : e xtend s erial d ata p ort c ontrol (v o dac_i2s/pcm)...................................................................36 8.17. r eg -3a h : p ower m anagement a ddition 1..........................................................................................................37 8.18. r eg -3c h : p ower m anagement a ddition 2 ..........................................................................................................38 8.19. r eg -3e h : p ower m anagement a ddition 3 ..........................................................................................................39 8.20. r eg -40 h : g eneral p urpose c ontrol r egister 1 ................................................................................................40 8.21. r eg -42 h : g eneral p urpose c ontrol r egister 2 ................................................................................................41 8.22. r eg -44 h : pll c ontrol ............................................................................................................................... ............41 8.22.1. ac-link pll clock settin g table (un it: mhz) .................................................................................... .........42 8.23. r eg -4c h : gpio p in c onfiguration .......................................................................................................................43 8.24. r eg -4e h : gpio p in p olarity ............................................................................................................................... ..44 8.25. r eg -50 h : gpio p in s ticky ............................................................................................................................... .......45 8.26. r eg -52 h : gpio p in w ake -u p ............................................................................................................................... ...46 8.27. r eg -54 h : gpio p in s tatus ............................................................................................................................... ......47 8.28. r eg -56 h : p in s haring ............................................................................................................................... ..............48 8.29. r eg -58 h : o ver -t emp /c urrent s tatus .................................................................................................................49 8.30. r eg -5c h : gpio_o utput p in c ontrol ...................................................................................................................50 8.31. r eg -5e h : misc c ontrol ............................................................................................................................... .........50 8.32. r eg -60 h : s tereo dac c lock c ontrol _1 ............................................................................................................52 8.33. r eg -62 h : s tereo dac c lock c ontrol _2 ............................................................................................................53 8.34. r eg -64 h : v o dac_pcm c lock c ontrol _1 ..........................................................................................................54 8.35. r eg -66 h : v o dac_pcm c lock c ontrol _2 ..........................................................................................................55 8.36. r eg -68 h : p seudo s tereo and s patial e ffect b lock c ontrol .........................................................................56 8.37. r eg -6a h : i ndex a ddress ............................................................................................................................... ........57 8.38. r eg -6c h : i ndex d ata ............................................................................................................................... ..............57 8.39. r eg -6e h : eq s tatus ............................................................................................................................... ................57 8.40. i ndex -00 h : eq b and -0 c oefficient (lp0: a 1) ......................................................................................................58 8.41. i ndex -01 h : eq b and -0 g ain (lp0: h o )..................................................................................................................58 8.42. i ndex -02 h : eq b and -1 c oefficient (bp1: a 1) ......................................................................................................58 8.43. i ndex -03 h : eq b and -1 c oefficient (bp1: a 2) ......................................................................................................58 8.44. i ndex -04 h : eq b and -1 g ain (bp1: h o ) .................................................................................................................58 8.45. i ndex -05 h : eq b and -2 c oefficient (bp2: a 1) ......................................................................................................59 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface v track id: jatr-1076-21 rev. 1.0 8.46. i ndex -06 h : eq b and -2 c oefficient (bp2: a 2) ......................................................................................................59 8.47. i ndex -07 h : eq b and -2 g ain (bp2: h o ) .................................................................................................................59 8.48. i ndex -08 h : eq b and -3 c oefficient (bp3: a 1) ......................................................................................................59 8.49. i ndex -09 h : eq b and -3 c oefficient (bp3: a 2) ......................................................................................................59 8.50. i ndex -0a h : eq b and -3 g ain (bp3: h o ).................................................................................................................60 8.51. i ndex -0b h : eq b and -4 c oefficient (hpf: a 1).....................................................................................................60 8.52. i ndex -0c h : eq b and -4 g ain (hpf: h o ) ................................................................................................................60 8.53. i ndex -10 h : eq c ontrol and s tatus r egister ....................................................................................................61 8.54. i ndex -11 h : eq i nput v olume c ontrol ................................................................................................................61 8.55. i ndex -12 h : eq o utput v olume c ontrol .............................................................................................................62 8.56. i ndex -20 h : a uto v olume c ontrol r egister 0 ...................................................................................................62 8.57. i ndex -21 h : a uto v olume c ontrol r egister 1 ...................................................................................................63 8.58. i ndex -22 h : a uto v olume c ontrol r egister 2 ...................................................................................................63 8.59. i ndex -23 h : a uto v olume c ontrol r egister 3 ...................................................................................................63 8.60. i ndex -24 h : a uto v olume c ontrol r egister 4 ...................................................................................................63 8.61. i ndex -25 h : a uto v olume c ontrol r egister 5 ...................................................................................................64 8.62. i ndex -39 h : d igital i nternal r egister ................................................................................................................64 8.63. i ndex -44 h : c lass ab i nternal r egister .............................................................................................................64 8.64. i ndex -4a h : c lass d t emperature s ensor ..........................................................................................................65 8.65. i ndex -54 h : ad_da_m ixer _i nternal r egister ..................................................................................................65 8.66. r eg -7c h : vendor id 1 .............................................................................................................................. ...........66 8.67. r eg -7e h : vendor id 2 .............................................................................................................................. ...........66 9. electrical char acteristics ..................................................................................................... .....................67 9.1. dc c haracteristics ............................................................................................................................... ................67 9.1.1. absolute maxi mum ratings ....................................................................................................... ...........................67 9.1.2. recommended oper ating conditions ............................................................................................... ....................67 9.1.3. static charac teris tics ......................................................................................................... ..................................68 9.2. a nalog p erformance c haracteristics ..............................................................................................................68 10. application circuits ........................................................................................................... ............................71 11. mechanical dimensions.......................................................................................................... .......................72 12. appendix a: stereo i 2 s clock table.........................................................................................................73 12.1. m aster /s lave m ode ............................................................................................................................... ...............73 13. appendix b: voice pcm interface................................................................................................ ..............74 13.1. m aster m ode : ( voice _ port _ sel =0) ......................................................................................................................74 13.2. s lave m ode : ( voice _ port _ sel =1).........................................................................................................................75 14. ordering information ........................................................................................................... ........................75 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface vi track id: jatr-1076-21 rev. 1.0 list of tables t able 1. d igital i/o p ins ............................................................................................................................... ..........................6 t able 2. a nalog i/o p ins ............................................................................................................................... .........................6 t able 3. f ilter /r eference ............................................................................................................................... ......................7 t able 4. p ower /g round ............................................................................................................................... ...........................7 t able 5. p ower s etting for b est p erformance ..................................................................................................................8 t able 6. r eset o peration ............................................................................................................................... ........................8 t able 7. p ower -o n r eset v oltage ............................................................................................................................... ........8 t able 8. c lock s etting t able for 48k (u nit : mh z )...........................................................................................................9 t able 9. c lock s etting t able for 44.1k (u nit : mh z )......................................................................................................10 t able 10. a ddressing s etting ............................................................................................................................... ................23 t able 11. w rite word p rotocol ............................................................................................................................... .........24 t able 12. r ead word p rotocol ............................................................................................................................... ...........24 t able 13. r eg -00 h : r eset ............................................................................................................................... ........................26 t able 14. r eg -02 h : s peaker o utput v olume ......................................................................................................................26 t able 15. r eg -04 h : h eadphone o utput v olume .................................................................................................................27 t able 16. r eg -08 h : p hone i nput / mono o utput v olume .................................................................................................27 t able 17. r eg -0a h : line_in v olume ............................................................................................................................... ....28 t able 18. r eg -0c h : stereo dac v olume ..........................................................................................................................28 t able 19. r eg -0e h : mic v olume ............................................................................................................................... ............29 t able 20. r eg -10 h : mic r outing c ontrol ..........................................................................................................................29 t able 21. r eg -12 h : adc r ecord g ain ............................................................................................................................... ...30 t able 22. r eg -14 h : adc r ecord m ixer c ontrol ...............................................................................................................31 t able 23. r eg -18 h : v oice dac o utput v olume .................................................................................................................31 t able 24. r eg -1c h : o utput m ixer c ontrol ........................................................................................................................32 t able 25. r eg -22 h : m icrophone c ontrol ............................................................................................................................33 t able 26. r eg -26 h : p ower d own c ontrol /s tatus .............................................................................................................33 t able 27. t ruth t able for p ower d own m ode : (pd= p ower d own )...............................................................................34 t able 28. r eg -34 h : m ain s erial d ata p ort c ontrol (s tereo i 2 s)...................................................................................35 t able 29. r eg -36 h : e xtend s erial d ata p ort c ontrol (v o dac_i 2 s/pcm) ...................................................................36 t able 30. r eg -3a h : p ower m anagement a ddition 1 .........................................................................................................37 t able 31. r eg -3c h : p ower m anagement a ddition 2 .........................................................................................................38 t able 32. r eg -3e h : p ower m anagement a ddition 3..........................................................................................................39 t able 33. r eg -40 h : g eneral p urpose c ontrol r egister 1 ...............................................................................................40 t able 34. r eg -42 h : g eneral p urpose c ontrol r egister 2 ...............................................................................................41 t able 35. r eg -44 h : pll c ontrol ............................................................................................................................... ...........41 t able 36. i 2 c+i 2 s c lock s etting t able for 48k: (u nit : mh z ) ..........................................................................................42 t able 37 i 2 c+i 2 s c lock s etting t able for 44.1k: (u nit : mh z ).......................................................................................42 t able 38. r eg -4c h : gpio p in c onfiguration ......................................................................................................................43 t able 39. r eg -4e h : gpio p in p olarity ............................................................................................................................... ..44 t able 40. r eg -50 h : gpio p in s ticky ............................................................................................................................... ......45 t able 41. r eg -52 h : gpio p in w ake -u p ............................................................................................................................... ..46 t able 42. r eg -54 h : gpio p in s tatus ............................................................................................................................... ......47 t able 43. r eg -56 h : p in s haring ............................................................................................................................... ..............48 t able 44. r eg -58 h : o ver -t emp / c urrent s tatus ...............................................................................................................49 t able 45. r eg -5c h : gpio_o utput p in c ontrol ..................................................................................................................50 t able 46. r eg -5e h : misc c ontrol ............................................................................................................................... ........50 t able 47. r eg -60 h : s tereo dac c lock c ontrol _1............................................................................................................52 t able 48. r eg -62 h : s tereo dac c lock c ontrol _2............................................................................................................53 t able 49. r eg -64 h : v o dac_pcm c lock c ontrol _1 .........................................................................................................54 t able 50. r eg -66 h : v o dac_pcm c lock c ontrol _2 .........................................................................................................55 t able 51. r eg -68 h : p seudo s tereo and s patial e ffect b lock c ontrol .........................................................................56 t able 52. r eg -6a h : i ndex a ddress ............................................................................................................................... ........57 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface vii track id: jatr-1076-21 rev. 1.0 t able 53. r eg -6c h : i ndex d ata ............................................................................................................................... ..............57 t able 54. r eg -6e h : eq s tatus ............................................................................................................................... ................57 t able 55. i ndex -00 h : eq b and -0 c oefficient (lp0: a 1)......................................................................................................58 t able 56. i ndex -01 h : eq b and -0 g ain (lp0: h o ) .................................................................................................................58 t able 57. i ndex -02 h : eq b and -1 c oefficient (bp1: a 1) .....................................................................................................58 t able 58. i ndex -03 h : eq b and -1 c oefficient (bp1: a 2) .....................................................................................................58 t able 59. i ndex -04 h : eq b and -1 g ain (bp1: h o ).................................................................................................................58 t able 60. i ndex -05 h : eq b and -2 c oefficient (bp2: a 1) .....................................................................................................59 t able 61. i ndex -06 h : eq b and -2 c oefficient (bp2: a 2) .....................................................................................................59 t able 62. i ndex -07 h : eq b and -2 g ain (bp2: h o ).................................................................................................................59 t able 63. i ndex -08 h : eq b and -3 c oefficient (bp3: a 1) .....................................................................................................59 t able 64. i ndex -09 h : eq b and -3 c oefficient (bp3: a 2) .....................................................................................................59 t able 65. i ndex -0a h : eq b and -3 g ain (bp3: h o ) ................................................................................................................60 t able 66. i ndex -0b h : eq b and -4 c oefficient (hpf: a 1) ....................................................................................................60 t able 67. i ndex -0c h : eq b and -4 g ain (hpf: h o )................................................................................................................60 t able 68. i ndex -10 h : eq c ontrol and s tatus r egister ...................................................................................................61 t able 69. i ndex -11 h : eq i nput v olume c ontrol ...............................................................................................................61 t able 70. i ndex -12 h : eq o utput v olume c ontrol ............................................................................................................62 t able 71. i ndex -20 h : a uto v olume c ontrol r egister 0 ..................................................................................................62 t able 72. i ndex -21 h : a uto v olume c ontrol r egister 1 ..................................................................................................63 t able 73. i ndex -22 h : a uto v olume c ontrol r egister 2 ..................................................................................................63 t able 74. i ndex -23 h : a uto v olume c ontrol r egister 3 ..................................................................................................63 t able 75. i ndex -24 h : a uto v olume c ontrol r egister 4 ..................................................................................................63 t able 76. i ndex -25 h : a uto v olume c ontrol r egister 5 ..................................................................................................64 t able 77. i ndex -39 h : d igital i nternal r egister ................................................................................................................64 t able 78. i ndex -44 h : c lass ab i nternal r egister ............................................................................................................64 t able 79. i ndex -4a h : c lass d t emperature s ensor ..........................................................................................................65 t able 80. i ndex -54 h : ad_da_m ixer _i nternal r egister .................................................................................................65 t able 81. r eg -7c h : vendor id 1.............................................................................................................................. ...........66 t able 82. r eg -7e h : vendor id 2.............................................................................................................................. ...........66 t able 83. a bsolute m aximum r atings ............................................................................................................................... .67 t able 84. r ecommended o perating c onditions .................................................................................................................67 t able 85. s tatic c haracteristics ............................................................................................................................... .........68 t able 86. a nalog p erformance c haracteristics .............................................................................................................68 t able 87. o rdering i nformation ............................................................................................................................... ...........76 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface viii track id: jatr-1076-21 rev. 1.0 list of figures f igure 1. b lock d iagram ............................................................................................................................... ........................3 f igure 2. a udio m ixer p ath ............................................................................................................................... ....................4 f igure 3. p in a ssignments ............................................................................................................................... .......................5 f igure 4. pcm mono d ata m ode a f ormat ( bclk _ polarity =0) ...................................................................................12 f igure 5. pcm mono d ata m ode a f ormat ( bclk _ polarity =1) ...................................................................................12 f igure 6. pcm mono d ata m ode b f ormat ( bclk _ polarity =0) ...................................................................................13 f igure 7. pcm s tereo d ata m ode a f ormat ( bclk _ polarity =0)...................................................................................13 f igure 8. pcm s tereo d ata m ode b f ormat ( bclk _ polarity =0)...................................................................................13 f igure 9. i 2 s d ata f ormat ( bclk _ polarity =0) ..................................................................................................................14 f igure 10. l eft -j ustified d ata f ormat ( bclk _ polarity =0) .............................................................................................14 f igure 11. r ight -j ustified d ata f ormat ( bclk _ polarity =0) ...........................................................................................14 f igure 12. a uto v olume c ontrol b lock d iagram ............................................................................................................21 f igure 13. d ata t ransfer o ver i 2 c c ontrol i nterface ...................................................................................................23 f igure 14. gpio i mplementation ............................................................................................................................... ...........25 f igure 15. p ower c ontrol to mic i nput .............................................................................................................................40 f igure 16. gpio and irq l ogic ............................................................................................................................... ..............48 f igure 17. j ack -i nsert -d etect p ull u p r esister i mplemented via an e xternal c ircuit ............................................51 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 1 track id: jatr-1076-21 rev. 1.0 1. general description the ALC5620 is a highly-integrated dual i 2 s/pcm interface audio codec with multiple input/output ports and is designed for mobile computing and communi cations. it provides a dual-channel hi-fi codec for playback, and dual-channel adc for recording via an i 2 s interface. in addition, an independent voice dac is provided with pcm interfac e for bluetooth applications. both stereo audio and voice func tions are supported via the i 2 s/pcm configurable interface. to reduce component count, the device can connect directly to: ? mono or stereo differential analog inputs ? stereo headphone ? single-end or btl mono output ? mono or stereo bridge-tied load (btl) speaker multiple analog input and output pins are provided for seamless integration with analog connected wireless communication devices. differential input/output connec tions efficiently reduce noise interference, providing bette r sound quality. class-ab or class- d amplifiers are easily swapped via simple register configuration, and th e 1 watt speaker removes the need for an additional amplifier, further cutting both cost and required board area. additionally, a flexible hardware 5-band equalizer with configurable gain, bandwidth, and center frequency, and enriches the sound experience. the ALC5620 operates at supply voltage s from 1.8 to 5 volts. to extend battery life, each section of the device can be powered down individua lly under software control. leakage current in maximum power saving state is less than 10a. the ALC5620 is available in a 7x7mm ?green? qfn package, maki ng it ideal for use in handheld portable systems. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 2 track id: jatr-1076-21 rev. 1.0 2. features ? high performance i 2 s codec ? 16-bit stereo dac sn r 90db, thd+n -85db ? 16-bit stereo adc sn r 85db, thd+n -80db ? supports i 2 s/pcm input and output interface ? one analog stereo input (line-in) ? one analog mono single-ende d or differential input (phone and phonen input) ? stereo, single-ended mono, or di fferential analog microphone input s, with boost pre-amplifiers (+20/+30/+40db) ? btl (bridge-tied load) max. output with on- chip 1w speaker driver (spkvdd=5v, 8 ? load) ? stereo headphone output with on-chip 45mw headphone driver (hpvdd=3.3v, 16 ? load) ? 25mw se or 75mw btl mono output support (avdd=3.3v, 32 ? load) ? microphone switch detection ? integrated 16-bit i 2 s/pcm interface voice dac for blue-t ooth and other external devices ? power management and enhanced power saving ? supports digital 5 band equalizer (eq) ? supports digital spatial sound and pseudo stereo effect ? supports pop noise suppression ? internal pll can receive wide range of clock input (digital io power > 2.3v) ? digital power supplies from 1.8v to 3.6v, speaker amplifier power supplies from 2.3v to 5v ? analog power and headphone power supplies from 2.3v to 3.6v ? 7 x 7mm 48-pin qfn package 3. system applications ? tablet pc system/ultra-mobile pc (umpc) ? gps/personal navigation device (pnd) or multi-media phone ? pda phone/smartphone ? personal media player (pmp) www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 3 track id: jatr-1076-21 rev. 1.0 4. function block diagram 4.1. function block figure 1. block diagram www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 4 track id: jatr-1076-21 rev. 1.0 4.2. audio mixer path figure 2. audio mixer path www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 5 track id: jatr-1076-21 rev. 1.0 5. pin assignments figure 3. pin assignments 5.1. green package and version identification green package is indicated by a ?g? in the location marked ?t? in figur e 3. the version number is shown in the location marked ?v?. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 6 track id: jatr-1076-21 rev. 1.0 6. pin descriptions 6.1. digital i/o pins table 1. digital i/o pins name type pin description characteristic definition mclk i 2 master clock input schmitt trigger extclk i/o 3 external reference clock input/output schmitt trigger sdac i 5 stereo i 2 s/pcm dac data input schmitt trigger blck i/o 6 stereo i 2 s/pcm bit clock master: v ol =0.1*dvdd, v oh =0.9*dvdd slave: schmitt trigger sadc o 8 stereo i 2 s/pcm adc data output v ol =0.1*dvdd, v oh =0.9*dvdd sdalrck i/o 10 stereo i 2 s/pcm dac synchronous signal master: v ol =0.1*dvdd, v oh =0.9*dvdd slave: schmitt trigger reset# i 11 h/w reset input (low active) schmitt trigger sadlrck i/o 12 stereo i 2 s/pcm adc synchronous signal master: v ol =0.1*dvdd, v oh =0.9*dvdd slave: schmitt trigger scl i 13 i 2 c clock schmitt trigger sda i/o 14 i 2 c data schmitt trigger a1 i 15 i 2 c address a1 a1: input gpio1 / vbclk i/o 44 general purpose input and output 1 / voice i 2 s/pcm bit clock gpio: input / output vbclk: slave input / master output gpio2 / irqout i/o 45 general purpose input and output 2 / interrupt output gpio: input / output irqout: output gpio3 / vslrck i/o 46 general purpose input and output 3 / voice i 2 s/pcm synchronous signal gpio: input / output vslrck: slave input / master output gpio4 / vsdac i/o 47 general purpose input and output 4 / voice i 2 s/pcm dac data input gpio: input / output sdac: schmitt trigger input gpio5 / vsadc i/o 48 general purpose input and output 5 / voice i 2 s/pcm adc data output gpio: input / output sadc: voice data output total: 16 pins 6.2. analog i/o pins table 2. analog i/o pins name type pin description characteristic definition phonep i 19 phone positive input analog input (1vrms) phonen i 20 phone negative input analog input (1vrms) mic1p i 21 first mic positive input analog input (1vrms) mic1n i 22 first mic negative input analog input (1vrms) mic2p i 29 second mic positive input analog input (1vrms) mic2n i 30 second mic negative input analog input (1vrms) line_in_l i 23 line input left channel analog input (1vrms) www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 7 track id: jatr-1076-21 rev. 1.0 name type pin description characteristic definition line_in_r i 24 line input right channel analog input (1vrms) mono_out o 31 positive mono output analog output (1vrms) mono_outn o 32 negative mono output analog output (1vrms) hp_out_l o 39 headphone output left channel analog output (1vrms) hp_out_r o 41 headphone output right channel analog output (1vrms) spk_out_l o 35 speaker output left channel analog output (1.3vrms, spkvdd = 4.2v) spk_out_ln o 33 negative speaker output left channel analog output (1.3vrms, spkvdd = 4.2v) spk_out_r o 36 speaker output right channel analog output (1.3vrms, spkvdd = 4.2v) spk_out_rn o 37 negative speaker output right channel analog output (1.3vrms, spkvdd = 4.2v) total: 16 pins 6.3. filter/reference table 3. filter/reference name type pin description characteristic definition micbias2 o 16 mic bias voltage output 2 programmable analog dc output with 3ma drive micbias o 28 mic bias voltage output programmable analog dc output with 3ma drive vref o 27 internal reference voltage 1f capacitor to analog ground total: 2 pins 6.4. power/ground table 4. power/ground name type pin description characteristic definition dvdd1 p 1 digital vdd 1.8v~3.6v (io) dgnd1 p 4 digital gnd - dgnd2 p 7 digital gnd - dvdd2 p 9 digital vdd 1.8v~3.6v (core) avdd2 p 17 analog vdd 2.3v~3.6v agnd3 p 18 analog gnd - avdd1 p 25 analog vdd 2.3v~3.6v agnd1 p 26 analog gnd - spkgnd p 34 analog gnd for speaker amps - spkvdd p 38 analog vdd for speaker amps 3.0v~5v (for ohm loading) 2.3v~5v (for kohm loading) hpgnd p 40 analog gnd for headphone amps - agnd2 p 42 analog gnd - hpvdd p 43 analog vdd for headphone amps 2.3v~3.6v lfgnd p 49 thermal pad, connect to spkgnd - total: 14 pins note: dvdd1 R dvdd2, spkvdd R avdd1, hpvdd R avdd1 = avdd2 R dvdd2 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 8 track id: jatr-1076-21 rev. 1.0 7. functional description 7.1. power the ALC5620 has many power blocks. spkvdd ope rates between 2.3v and 5v. hpvdd, avdd2, and avdd1 operate between 2.3v and 3.6v. dvdd1 and dvdd2 operate between 1.8v and 3.6v. the power supply limit condition are dvdd1 dvdd2, spkvdd avdd1=avdd2, hpvdd avdd1= avdd2 dvdd2. table 5. power setting for best performance power dvdd1 dvdd2 hpvdd av d d 2 av d d 1 spkvdd setting 3.3v 1.8v 3.3v 3.3v 3.3v 4.2v 7.2. reset there are 3 types of reset operation: power-o n reset (por), cold, and register reset. table 6. reset operation reset type trigger condition codec response por monitor digital power supply voltage reach v por reset all hardware logic and all registers to default values. cold reset assert reset# for a specified period reset all hardware logic and all registers to default values except some specify control registers and logic. register reset write reg-00h reset all registers to default values except some specify control registers and logic. 7.2.1. power-on reset (por) when powered on, dvdd2 passes through the v por band of the ALC5620 (v por_on ~v por_off ). a power-on reset (por) will generate an internal reset signal (por rese t ?low?) to reset the whole chip. table 7. power-on reset voltage symbol min typical max unit v por_on 1.0 - 1.6 v v por_off - 1.3 - v note: v por_off must be below v por_on . www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 9 track id: jatr-1076-21 rev. 1.0 7.3. clocking the stereo_sysclk can be selected from mclk or pll. this means mc lk is always provided externally, and the driver s hould arrange the clock of each block and setup each divider. the voice codec clock can be select ed from mclk (master mode), p ll (master mode), extclk (slave mode) or vbclk (slave mode). the driver should arrange the clock of each block and setup each divider. in master mode of voice i 2 s/pcm, extclk can be output by se tting extclk_dir=1. the output frequency will be determined by mclk and the setting of extclk_out_sel. 7.3.1. phase-locked loop a phase-locked loop (pll) is used to provide a flexible input clock from 2.048mhz to 40mhz. the source of the pll can be set to mclk or blck by setting pll_sour_sel. the driver can set up the pll to output a frequency close to the sysclk. the pll transmit formula is: f out = (mclk * (n+2)) / ((m+2) * (k+2)) {typical k=2} table 8. clock setting table for 48k (unit: mhz) mclk n m f vco k f out 13 66 7 98.222 2 24.555 3.6864 78 1 98.304 2 24.576 2.048 94 0 98.304 2 24.576 4.096 70 1 98.304 2 24.576 12 80 8 98.4 2 24.6 15.36 81 11 98.068 2 24.517 16 78 11 98.462 2 24.615 19.2 80 14 98.4 2 24.6 19.68 78 14 98.4 2 24.6 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 10 track id: jatr-1076-21 rev. 1.0 table 9. clock setting table for 44.1k (unit: mhz) mclk n m f vco k f out 13 68 8 91 2 22.75 3.6864 72 1 90.931 2 22.733 2.048 86 0 90.112 2 22.528 4.096 64 1 90.112 2 22.528 12 66 7 90.667 2 22.667 15.36 63 9 90.764 2 22.691 16 66 10 90.667 2 22.667 19.2 64 12 90.514 2 22.629 19.68 67 13 90.528 2 22.632 after a cold reset, pll related registers are reset to default values, however , they are not reset to default values after a soft-reset (write reg00). firmware should not power down the pll when the pll output is used as stereo_sysclk. 7.3.2. i 2 c and stereo i 2 s the ALC5620 supports i 2 c for the digital control interface, and i 2 s/pcm for the digital data interface. the i 2 s/pcm audio digital interface is us ed to input data to a stereo dac or output data from a stereo adc. the i 2 s/pcm audio digital interface can be configured to master mode or slave mode. for the stereo i 2 s interface, the source clock is always input from mclk. master mode in master mode bclk/sdalrck/s adlrck are configured as output . when pll is disabled and sel_sysclk=0, mclk is used as st ereo sysclk. when pll is enable d, mclk is suggested to provide 13mhz, and pll should be configured to support 44.1k and 48k base sampling rates. the driver should set each divider (reg60 & reg62) to arrange the cl ock distribution. refer to section 12 appendix a: stereo i 2 s clock table, page 73, for details. note: the ALC5620 supports different sample rates between sdalrck and sadl rck in master mode. slave mode in slave mode bclk/sdalrck are configured as input. mclk should provide the bclk synchronized clock externally. stereo_sysclk and the driver should set each divider to arrange the clock distribution. refer to section 12 appendix a: stereo i 2 s clock table, page 73, for details. note: in slave mode, the ALC5620 does not support different sample rates between sdalrck and sadlrck. only sdalrck is used in slave mode. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 11 track id: jatr-1076-21 rev. 1.0 7.3.3. voice_i 2 s/pcm interface the ALC5620 supports an independent digital in terface for voice audio. the voice audio digital interface is used to input digital data to the voi ce dac, or output digital data from the voice adc. the voice audio digital interface can be configured to ma ster mode or slave mode. whether in master mode or slave mode, the sample rate of the voi ce adc and voice dac is set via reg64 and reg66. master mode in master mode the main clock of the voice_i 2 s/pcm interface can be input selected from mclk (with or without a pll) or extclk. v bclk and vslrck will be configured as output. the driver should set each divider (reg64 & reg66) to arrange the clock distribution. see section 13 appendix b: voice pcm interface, page 74 for details. slave mode in slave mode the main clock of the voice_i 2 s/pcm can be input from mclk or extclk. vbclk is synchronized externally. vbclk and vslrck should be configured as input. the driver should set each divider (reg64 and reg66) to arrange the cloc k distribution (see section 13.2 slave mode: (voice_port_sel=1), page 75 for more information. if vbclk provides 64fs, 128fs, or 256fs externall y, the ALC5620 can use vbclk input as the main clock of the voice_i 2 s/pcm. see section 12 appendix a: stereo i 2 s clock table, page 73. 7.3.4. voice adc the ALC5620 supports voice adc for transmitting voice data to a bluetooth device. the voice adc is implemented by sharing from the right channel of the stereo adc (by setting voice_adc_enable). when voice_adc_enable=0?b, the l/r channel stereo adc sample rate is set according to the stereo sample rate, and is output to the stereo i 2 s/pcm interface. when voice_adc_enable=1, the sample rate of the left channel is set by the ster eo sample rate (reg60 & reg62). the sample rate of the right channel is se t by the voice sample rate (reg64 & reg66). the left channel adc data is output to the left fram e and duplicated to the right frame of the i 2 s/pcm interface. the right channel of the stereo adc data is th en used as a voice adc and is output to voice_i 2 s/pcm. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 12 track id: jatr-1076-21 rev. 1.0 7.4. digital data interface 7.4.1. stereo and voice i 2 s/pcm interface the stereo and voice i 2 s/pcm interface can be configured as ma ster mode or slav e mode. four audio data formats are supported: ? pcm mode ? left justified mode ? right justified mode ? i 2 s mode figure 4. pcm mono data mode a format (bclk_polarity=0) figure 5. pcm mono data mode a format (bclk_polarity=1) www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 13 track id: jatr-1076-21 rev. 1.0 figure 6. pcm mono data mode b format (bclk_polarity=0) figure 7. pcm stereo data mode a format (bclk_polarity=0) figure 8. pcm stereo data mode b format (bclk_polarity=0) www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 14 track id: jatr-1076-21 rev. 1.0 figure 9. i 2 s data format (bclk_polarity=0) figure 10. left-justified data format (bclk_polarity=0) figure 11. right-justified data format (bclk_polarity=0) www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 15 track id: jatr-1076-21 rev. 1.0 7.5. audio data path 7.5.1. stereo adc and voice adc the stereo adc is used for recording stereo sound or , by setting voice_adc_enable, can be configured to mono pcm adc (left channel of stereo adc) + voice adc (right channel of stereo adc) when using bluetooth and record ing at the same time. ? when voice_adc_enabl=0, the sample rate of the st ereo adc can be configured via setting reg60 & reg62. ? when voice_adc_enabl=1, the sample rate of the voice adc is set by reg64 & reg66, and the sample rate of the mono pcm adc is set by reg60 & reg62. the sample rate of the stereo adc is independent of the stereo dac sample rate. in order to save power, the left and right adc can be powered dow n separately by setting reg3c [6], [7]). the volume control of the stereo adc is set via reg12[11:7][4:0]. 7.5.2. stereo dac stereo dac can be configured to differe nt sample rate by setting the stereo i 2 s clock divider (reg60). reg0c[12:8][4:0] can be used to control the volume of dac output 7.5.3. voice to stereo digital path the ALC5620 supports a voice to dig ital stereo path for voice comma nd through bluetooth by setting reg42[15]=1. the voice data will be transferred from the voice i 2 s/pcm to the main i 2 s/pcm directly. this function is only supported when the voice and stereo i 2 s/pcm are in master mode. the driver should set the same sample rate betw een the voice dac and the stereo adc. when a voice to stereo digital path is enabled, the signal from voice_i 2 s/pcm is direct output to left frame and is duplicated to right frame of the voice i 2 s/pcm interface. the voice to stereo digital path and voice adc functions can exist at the same time. 7.5.4. voice dac the voice dac is dedicated to playback of received voice signals from the voice_i 2 s/pcm interface. typically, it is used at an 8khz sample rate. in voice i 2 s/pcm master mode, the sample rate is set by the vodac clock divider (reg64). in addition, reg66[7:4][2:0] is used to set the over-sample rate clock divider of the voi ce adc/dac filter to 128fs. reg66[13] must be set according to the over-sample rate clock. performance at 128fs is better than 64fs, but with higher power consumption. the higher frequency will cause better performance. for best performance, the frequency of the voice dac sigma delta clock must be equal to, or higher than, the voice da filter over-sampling rate. the volume control of the voi ce dac is set via reg18[12:8]. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 16 track id: jatr-1076-21 rev. 1.0 7.6. mixers the ALC5620 supports four mixers fo r all audio function requirements: ? headphone mixer for 2 channels ? mono mixer ? speaker mixer ? adc record mixer 7.6.1. headphone mixer the headphone mixer is used to drive stereo output, including hp_out_l/r, spk_out_l/r (spk_out_ln/rn) and mono_out (mono_outn). the output of the headphone mixer can be input to the adc record mixer. the following signals can be mixed into the headphone mixer: ? line-in_l/r (controlled by reg0a) ? phonep/n (controlled by reg08) ? mic1p/n and mic2p/n (controlled by reg22 & reg10) ? stereo dac output (controlled by reg0c) ? voice dac output (controlled by reg18) ? adc record mixer output (controlled by reg12 & reg14). note: the headphone mixer can be powered down by setting reg3c[5][4]. 7.6.2. mono mixer the mono mixer is used to drive m ono_out (mono_outn) and spk_out_l/r (spk_out_ln/rn). the output of the mono mixer can be input to the adc record mixer. the output of the mono mixer is two cha nnels with the same signal. the following signals can be mixed into the mono mixer: ? line-in_l/r (controlled by reg0a) ? mic1p/n and mic2p/n (controlled by reg22 & reg10) ? stereo dac output (controlled by reg0c) ? voice dac output (controlled by reg18) ? adc record mixer output (controlled by reg12 & reg14). note: the mono mixer can be powered down by setting reg3c[2]. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 17 track id: jatr-1076-21 rev. 1.0 7.6.3. speaker mixer the speaker mixer is the same as the mono mi xer and is used to drive mono_out (mono_outn) and spk_out_l/r (spk_out_ln/rn). the output of the speaker mixer can be input to the adc record mixer. the output of the speaker mixe r is two channels with the same signal. the following signals can be mixed into the speaker mixer: ? line-in_l/r (controlled by reg0a) ? phonep/n (controlled by reg08) ? mic1p/n and mic2p/n (controlled by reg22 & reg10) ? stereo dac output (controlled by reg0c) ? voice dac output (controlled by reg18) note: the speaker mixer can be pow ered down by setting reg3c[3]. 7.6.4. adc record mixer the adc record mixer is used to mix analog signals as input to the stereo adc for recording. output of the adc record mixer can be input to the hea dphone mixer, mono mixer, and speaker mixer. the following signals can be mixed into the adc record mixer: ? line-in_l/r (controlled by reg0a) ? phonep/n (controlled by reg08) ? mic1p/n and mic2p/n (controlled by reg22 & reg10) ? headphone mixer output ? mono mixer output ? speaker mixer output note: the adc record mixer can be powered down by setting reg3c[1][0]. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 18 track id: jatr-1076-21 rev. 1.0 7.7. analog audio input path the ALC5620 supports four analog audio input paths: ? line_in_l/r ? phonep/n ? mic1 ? mic2 7.7.1. line input line_in_l and line_in_r provide 2-ch annel stereo single-ended input th at can be mixed into the mono mixer, headphone mixer, speaker mixer, or the adc record mixer. the line_in_l/r volume and mute are controlled by reg0a. reg3e[7:6] can be used to power down the line_in volume control. 7.7.2. phone input phonep/n provides one-channel mono differential or single-ende d input configured by reg08[13] that can be mixed into the adc record mixer, or any analog output mixer except for the mono mixer. phonep is main input when differential mode is disabled. the phonep/n volume and mute are controlled by reg08. reg3e[5:4] can be used to power down phonep/n volume control and mixer. 7.7.3. microphone input mic1p/n and mic2p/n provide two-cha nnel stereo differential or single -ended input via re g10[12], [4], that can be mixed into the adc record mixer, or any analog output mixer. mic1p and mic2p are main inputs when differentia l mode is disabled. the ALC5620 microphone input boos t provides 20/30/40db boost, set by reg22[11:10] (for mic1), and by reg22[9:8] (for mic2). the mic1/2 volume and mute are controlled by reg0e. for detailed power management of mic1/2, reg3e[3][ 2] can be used to power down the mic1/2 volume control. reg3e[1][0] can be used to power down mic1/2 and mixer. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 19 track id: jatr-1076-21 rev. 1.0 7.8. analog audio output data path the ALC5620 supports three an alog audio output paths: ? spk_out_l/r ? hp_out_l/r ? mono_out 7.8.1. speaker output spk_out_l/r provides two-channel differential output. the spk_out_l source is set in reg1c [15:14]. sources are shown below: ? vmid ? headphone left mixer ? speaker mixer ? mono mixer the spk_out_r source is set in reg1c [12:11]. sources are shown below: ? vmid ? headphone right mixer ? speaker mixer ? mono mixer the ALC5620 speaker supports class ab and class d type amplifiers (set in reg1c[13]:spk_out_sel). as the voltage of spkvdd is usually higher than avdd, the driver should set the class ab vmid ratio in reg40[5:3], and the class d vmid ratio in re g40[7:6] in order to extend the output level. in class ab mode, for l+r mono speaker solutions, spk_out_r can select a di fferent signal source (spkr volume output or spkl volume output by reg1c[14]) but spk_out_rn only outputs spkr volume negative output. the spk_out_l/r volume and mu te are controlled by reg02. reg3e[13]: pow_spk_r and reg3e[12]:pow_spk_rn can be used to power down spk output. reg3c[14]: pow_clsab is used to power down class ab output, and index 46[15:12] is used to power down each output channel of class d. spk_out_l/r supports the zero-cross detect f unction (enabled at re g02[6][14]: sp_l_dezero/ sp_r_dezero). www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 20 track id: jatr-1076-21 rev. 1.0 7.8.2. headphone output hp_out_l/r provides two-channe l single-ended output. the hp_out_l/r source is set in reg1c[9][8]. sources are shown below: ? vmid ? headphone mixer the hp_out_l/r volume and mute are controlled by reg04. reg3e[11]: pow_hp_l_vol and reg3e[10]: pow_hp_r_vol ca n be used to power down the volume of hp output. hp_out supports the zero-cross detect function (enabled at reg04[14][6]: hp_l_dezero/ hp_r_dezero). 7.8.3. mono output mono_out provide one-channel differential or si ngle-ended output confi gured by reg08[15]. the mono_out source is set in reg1c[7 :6]. sources are shown below: ? vmid ? headphone mixer (l+r) ? speaker mixer ? mono mixer the mono_out volume and mute are controlled by reg08. reg3e[14]: pow_mono_out_vol can be used to power down the volume of mono_out. mono_out supports the zero-cross detect f unction (enabled at reg08[6]:mono_dezero). www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 21 track id: jatr-1076-21 rev. 1.0 7.9. avc control the automatic volume control (avc) function dynami cally adjusts the input signal quantized by the adc to an expected sound level by setting thmax and thmin. when the average level of input signal is higher th an thmax, the avc will decrease the selected analog gain to attenuate the quantized pulse code modula tion (pcm) signal to a lower amplitude than thmax. when the average level of input signal is lower th an thmin, the avc will incr ease the selected analog gain to amplify the input signal. the quantized pulse code modulation (pcm) signal is then set higher than thmin. the quantized pcm has an average level between thmin and thmax. the avc reference source channel and target ch annel can be individually set by index20[0] and reg5e[13:12]. the avc architecture is shown in figure 12 below: figure 12. auto volume control block diagram www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 22 track id: jatr-1076-21 rev. 1.0 7.10. hardware sound effects the sound effect block is composed of pseudo ster eo, spatial 3d, and equalizer blocks. the pseudo stereo block is used to convert a mono source into virtualized stereo output. the spatial 3d block is a surround sound generator with adjustab le amplitude (gain) and surroun d depth (ratio). the equalizer block can be used to compensate fo r speaker response, or to make e nvironment sound effects, e.g., ?pub?, ?live? , ?rock?,? etc.. 7.10.1. equalizer block the equalizer block cascades 5 bands of equalizer to compensate for speaker response and to emulate environment sound. one high-pass filter cascaded in the front end is used to drop low frequency tone, which has a larger amplitude and may damage a mini speaker. the high-pass filter can also be used to adjust treble strength with ga in control. a low-pass filter with gain control can adjust the bass strength. three bands of bi-quad ban dpass filters are used to emulate environment sounds. to avoid pcm sample saturation, the digital volume control has up to 18db of attenuation before the equalizer. a 0~+18db digital gain after the equalizer is used to correct pcm output to a suitable level. 7.10.2. pseudo stereo and spatial 3d sound there are two spatial effects in post-processing; the ps eudo-stereo effect + spatial effect, and the stereo expansion effect. the pseudo-stereo effect + spatial effect convert s a mono signal to a stereo signal by changing the phase and amplitude of the original signal followed by enhancing the spatial effect. the stereo expansion effect enhances the spatial effect when the input signal is stereo. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 23 track id: jatr-1076-21 rev. 1.0 7.11. i 2 c control interface i 2 c is a 2-wires half-duplex serial communication interface, supporting only slave mode. the host must support mclk during register access. 7.11.1. addressing setting table 10. addressing setting (msb) bit (lsb) 0 0 1 1 0 0 a1 r/w note: for a1: determined by external connect to vcc or gnd 7.11.2. complete data transfer data transfer over i 2 c control interface figure 13. data transfer over i 2 c control interface www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 24 track id: jatr-1076-21 rev. 1.0 write word protocol table 11. write word protocol read word protocol table 12. read word protocol s device address wr data byte high data byte low p s device address a a rd na a 1711 8 1 7 1 8 1 1 81 register address a s: start condition a: 0 for ack, 1 for nack slave address: 7-bit device address data byte: 16-bit mixer data wr: 0 for write command ? : master-to-slave rd: 1 for read command ? : slave-to-master command code: 8-bit register address 7.12. odd-addressed register access the ALC5620 will return ?0000h? when odd-addre ssed and unimplemented registers are read. 7.13. power management the ALC5620 supports a grouped power down contro l register (reg26). more detailed power management control is supported in reg 3a, 3c, and 3e. each particular block will only be active when both reg26 and reg3a/3c/3e are set to ?enable?. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 25 track id: jatr-1076-21 rev. 1.0 7.14. gpio and interrupt the ALC5620 supports up to five gpios. each gp io can be configured as input/output by reg4c. when gpios are configured as input, the status w ill be indicated in reg54. when gpios are configured as output, reg5c is used to drive gpios to high ( 1b) or low (0b). the stat us can be read in reg54. interrupt request (irq) can be configured as: ? sticky by setting reg50 ? changed polarity by setting reg4e ? wake-up by setting reg52 the driver can write each bit of re g54=1 to clear each irq status flag. when vopcm_en (reg36[15])=1, gpios 1, 3, 4, and 5 will be dedicated as vodac_i 2 s/pcm interface, regardless of gpio pin conf iguration (reg4c[5:3,1]). these pins ca nnot be used as gpios in this case. gpio pin2 can be configured and pin-sh ared with irq_output by setting reg56. figure 14. gpio implementation there are some internal events (over-temperature , micbias short detect) where gpios can be an interrupt source. gpio internal event applicat ion is located in reg4c, reg4e, reg50, reg52, and reg54. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 26 track id: jatr-1076-21 rev. 1.0 8. mixer registers list accessing odd numbered registers, or readi ng unimplemented registers, will return a 0. 8.1. reg-00h: reset default: 59b4h table 13. reg-00h: reset name bits read/write reset state description reserved 15 r 0?h reserved. read as 0 reg-00_b14_b10 14:10 r 16?h se[4:0]=10110b reg-00_b9 9 r 0?h no support for 20-bit adc reg-00_b8 8 r 1?h supports 16-bit adc reg-00_b7 7 r 1?h supports 16-bit dac reg-00_b6 6 r 0?h no support for 18-bit dac reg-00_b5 5 r 1?h support for loudness reg-00_b4 4 r 1?h headphone output support reserved 3 r 0?h reserved reg-00_b2 2 r 1?h supports eq control reserved 1 r 0?h reserved. read as 0 reg-00_b0 0 r 0?h dedicated mic pcm input is not supported. note: writes to this register will reset all registers to th eir default values except pll related register. the written data will be ignored 8.2. reg-02h: speaker output volume default: 8080h table 14. reg-02h: speaker output volume name bits read/write reset state description sp_l_mute 15 r/w 1?h mute left control 0: on 1: mute left channel (- db) sp_l_dezero 14 r/w 0?h left zero-cross detector control 0: disable 1: enable reserved 13 r 0?h reserved. read as 0 sp_l_vol 12:8 r/w 0?h speaker output left volume (spkl[4..0]) in 1.5db steps sp_r_mute 7 r/w 1?h mute right control 0: on 1: mute right channel (- db) sp_r_dezero 6 r/w 0?h right zero-cross detector control 0: disable 1: enable reserved 5 r 0?h reserved. read as 0 sp_r_vol 4:0 r/w 0?h speaker output right volume (spkr[4..0]) in 1.5db steps note: for spkr/spkl, 00h: 0db attenuation 1fh: 46.5db attenuation www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 27 track id: jatr-1076-21 rev. 1.0 8.3. reg-04h: headphone output volume default: 8080h table 15. reg-04h: headphone output volume name bits read/write reset state description hp_l_mute 15 r/w 1?h mute left control 0: on 1: mute left channel (- db) hp_l_dezero 14 r/w 0?h left zero-cross detector control 0: disable 1: enable reserved 13 r 0?h reserved. read as 0 hp_l_vol 12:8 r/w 0?h headphone output left volume (hpl[4..0]) in 1.5db steps hp_r_mute 7 r/w 1?h mute right control 0: on 1: mute right channel (- db) hp_r_dezero 6 r/w 0?h right ze ro-cross detector control 0: disable 1: enable reserved 5 r 0?h reserved. read as 0 hp_r_vol 4:0 r/w 0?h headphone output right volume (hpr[4..0]) in 1.5db steps note: for hpr/hpl, 00h: 0db attenuation 1fh: 46.5db attenuation 8.4. reg-08h: phone input/mono output volume default: c880h table 16. reg-08h: phone input / mono output volume name bits read/write reset state description phone2hp_mute 15 r/w 1?h mute phone input to headphone mixer control 0: on 1: mute (- db) phone2spk_mute 14 r/w 1?h mute phone input to speaker mixer control 0: on 1: mute (- db) phone_diff_ctrl 13 r/w 0?h phone differential input control 0: disable 1: enable phone_vol 12:8 r/w 8?h phone input volume (pv[4:0]) in 1.5db steps (not to adc) mono_mute 7 r/w 1?h mute mono output control 0: on 1: mute (- db) mono_dezero 6 r/w 0?h zero-cross detector control 0: disable 1: enable mono_diff_ctrl 5 r/w 0?h mono output differential control 0: disable (se) 1: enable (btl) mono_vol 4:0 r/w 0?h mono output master volume (mov[4..0]) in 1.5db steps note: for mov, 00h: 0db attenuation 1fh: 46.5db attenuation for pv, 00h: +12db gain 08h: 0db attenuation 1fh: 34.5db attenuation www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 28 track id: jatr-1076-21 rev. 1.0 8.5. reg-0ah: line_in volume default: e808h table 17. reg-0ah: line_in volume name bits read/write reset state description li2hp_mute 15 r/w 1?h mute volume output to headphone mixer control 0: on 1: mute li2spk_mute 14 r/w 1?h mute volume output to speaker mixer control 0: on 1: mute li2mono_mute 13 r/w 1?h mute volume output to mono mixer control 0: on 1: mute li_l_vol 12:8 r/w 08?h line_in left volume (nlv[4..0]) in 1.5db steps reserved 7:5 r 0?h reserved li_r_vol 4:0 r/w 8?h line_in right volume (nrv[4..0]) in 1.5db steps note: for nrv/nlv, 00h: +12db gain 08h: 0db attenuation 1fh: 34.5db attenuation 8.6. reg-0ch: stereo dac volume default: e808h table 18. reg-0ch: stereo dac volume name bits read/write reset state description dac2hp_mute 15 r/w 1?h mute volume output to headphone mixer control 0: on 1: mute (- db) dac2spk_mute 14 r/w 1?h mute volume output to speaker mixer control 0: on 1: mute (- db) dac2mono_mute 13 r/w 1?h mute volume output to mono mixer control 0: on 1: mute (- db) dac_l_vol 12:8 r/w 08?h pcm left dac volume (plv[4..0]) in 1.5db steps reserved 7:5 r 0?h reserved dac_r_vol 4:0 r/w 8?h pcm right dac volume (prv[4..0]) in 1.5db steps note: for prv/plv,: 00h: +12db gain 08h: 0db attenuation 1fh: 34.5db attenuation www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 29 track id: jatr-1076-21 rev. 1.0 8.7. reg-0eh: mic volume default: 0808h table 19. reg-0eh: mic volume name bits read/write reset state description reserved 15:13 r 0?h reserved mic1_vol 12:8 r/w 08?h mic1 volume (m1v[4..0]) in 1.5db steps reserved 7:5 r 0?h reserved mic2_vol 4:0 r/w 8?h mic2 volume (m2v[4..0]) in 1.5db steps for m2v/m1v, 00h: +12db gain 08h: 0db attenuation 1fh: 34.5db attenuation 8.8. reg-10h: mic routing control default: e0e0h table 20. reg-10h: mic routing control name bits read/write reset state description mic12hp_mute 15 r/w 1?h mute mic1 volume output to headphone mixer 0: on 1: mute mic12spk_mute 14 r/w 1?h mute mic1 volume output to speaker mixer 0: on 1: mute mic12mono_mute 13 r/w 1?h mute mic1 volume output to mono mixer 0: on 1: mute mic1_diff_ctrl 12 r/w 0?h mic1 differential input control 0: disable 1: enable reserved 11:8 r 0?h reserved mic22hp_mute 7 r/w 1?h mute mic2 volume output to headphone mixer 0: on 1: mute mic22spk_mute 6 r/w 1?h mute mic2 volume output to speaker mixer 0: on 1: mute mic22mono_mute 5 r/w 1?h mute mic2 volume output to mono mixer 0: on 1: mute mic2_diff_ctrl 4 r/w 0?h mic2 differential input control 0: disable 1: enable reserved 3:0 r 0?h reserved www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 30 track id: jatr-1076-21 rev. 1.0 8.9. reg-12h: adc record gain default: f58bh table 21. reg-12h: adc record gain name bits read/write reset state description adc2hp_l_mute 15 r/w 1?h mute left gain output to headphone mixer control 0: on 1: mute (- db) adc2hp_r_mute 14 r/w 1?h mute right gain output to headphone mixer control 0: on 1: mute (- db) adc2mono_l_ mute 13 r/w 1?h mute left gain output to mono mixer control 0: on 1: mute (- db) adc2mono_r_ mute 12 r/w 1?h mute right gain output to mono mixer control 0: on 1: mute (- db) adc_l_vol 11:7 r/w 0b?h adc record gain left channel (lrg[4..0]) in 1.5db steps 00h: -16.5db attenuation 0bh: 0db gain 1fh: 30db gain adc_l_dezero 6 r/w 0?h adc_l zero-cross detector control 0: disable 1: enable adc_r_dezero 5 r/w 0?h adc_r zero-cross detector control 0: disable 1: enable adc_r_vol 4:0 r/w 0b?h adc record gain right channel (rrg[4..0]) in 1.5db steps 00h: -16.5db attenuation 0bh: 0db gain 1fh: 30db gain www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 31 track id: jatr-1076-21 rev. 1.0 8.10. reg-14h: adc record mixer control default: 7f7fh table 22. reg-14h: adc record mixer control name bits read/write reset state description reserved 15 r 0?h reserved adcrec_l_mute 14:8 r/w 7f?h left mixer mute control 0: on 1: mute (- db) bit 14: mic1 bit 13: mic2 bit 12: line_in_l bit 11: phone bit 10: headphone mixer left channel bit 9: speaker mixer bit 8: mono mixer reserved 7 r 0?h reserved adcrec_r_mute 6:0 r/w 7f?h right mixer mute control 0: on 1: mute (- db) bit 6: mic1 bit 5: mic2 bit 4: line_in_r bit 3: phone bit 2: headphone mixer right channel bit 1: speaker mixer bit 0: mono mixer 8.11. reg-18h: voice dac output volume default: e800h table 23. reg-18h: voice dac output volume name bits read/write reset state description voice2hp_mute 15 r/w 1?h mute dac output to headphone mixer control 0: on 1: mute (- db) voice2spk_mute 14 r/w 1?h mute dac output to speaker mixer control 0: on 1: mute (- db) voice2mono_mute 13 r/w 1?h mute dac output to mono mixer control 0: on 1: mute (- db) voice_vol 12:8 r/w 8?h voice output volume (vv[4..0]) in 1.5db steps reserved 7:0 r 0?h reserved note: for nrv, 00h: +12db gain 08h: 0db attenuation 1fh: 34.5db attenuation www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 32 track id: jatr-1076-21 rev. 1.0 8.12. reg-1ch: output mixer control default: 0000h table 24. reg-1ch: output mixer control name bits read/write reset state description spk_l_vol_in_sel 15:14 r/w 0?h spkl volume input select 00: vmid (no input) 01: hp left mixer 10: speaker mixer 11: mono spk_l_out_sel 13 r/w 0?h spkl and spkr output select 0: class ab 1: class d spk_r_vol_in_sel 12:11 r/w 0?h spkr volume input select 00: vmid (no input) 01: hp right mixer 10: speaker mixer 11: mono reserved 10 r 0?h reserved hp_l_in_sel 9 r/w 0?h hpl volume input select 0: vmid (no input) 1: hp left mixer hp_r_in_sel 8 r/w 0?h hpr volume input select 0: vmid (no input) 1: hp right mixer mono_in_sel 7:6 r/w 0?h mono volume input select 00: vmid (no input) 01: hp left + right mixer 10: speaker mixer 11: mono mixer reserved 5 r 0?h reserved clab_amp_source_sel 4 r/w 0?h in class ab mode spk_out_r output amplifier source select 0: spkr volume output 1: spkl volume output note: spk_out_rn: spkr volume negative output reserved 3:0 r 0?h reserved www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 33 track id: jatr-1076-21 rev. 1.0 8.13. reg-22h: microphone control default: 0000h table 25. reg-22h: microphone control name bits read/write reset state description reserved 15:12 r 0?h reserved mic1_boost_ctrl 11:10 r/w 0?h mic1 boost control 00: bypass 01: +20db 10: +30db 11: +40db mic2_boost_ctrl 9:8 r/w 0?h mic2 boost control 00: bypass 01: +20db 10: +30db 11: +40db reserved 7:6 r 0?h reserved. read as 0 mic1_bias_voltage_ctrl 5 r/w 0?h micbias1 output voltage control 0: 0.9 * avdd 1: 0.75 * avdd mic2_bias_voltage_ctrl 4 r/w 0?h micbias2 output voltage control 0: 0.9 * avdd 1: 0.75 * avdd reserved 2:3 r 0?h reserved. read as 0 mic_bias_threshold 1:0 r/w 0?h micbias1/2 short current detector threshold 00: 600a 01: 1200a 1x: 1800a 8.14. reg-26h: power down control/status default: ef00h table 26. reg-26h: power down control/status name bits read/write reset state description ac_pr7 15 r/w 1?h pr7 0: normal 1: power down speaker amplifier ac_pr6 14 r/w 1?h pr6 0: normal 1: power down headphone out and mono out ac_pr5 13 r/w 1?h pr5 0: normal 1: disable internal clock www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 34 track id: jatr-1076-21 rev. 1.0 name bits read/write reset state description reserved 12 r/w 0?h reserved ac_pr3 11 r/w 1?h pr3 0: normal 1: power down mixer (vref/vrefout off) ac_pr2 10 r/w 1?h pr2 0: normal 1: power down mixer (vref/vrefout are still on) ac_pr1 9 r/w 1?h pr1 0: normal 1: power down stereo dac ac_pr0 8 r/w 1?h pr0 0: normal 1: power down stereo adc, and input mux reserved 7:4 r 0?h reserved. read as 0 vref_status 3 r 0?h vref status 1: vref is up to normal level 0: not yet up to normal level analog_mixer_status 2 r 0?h analog mixer status 1: ready 0: not yet ready dac_status 1 r 0?h dac status 1: ready 0: not yet ready adc_status 0 r 0?h adc status 1: ready 0: not yet ready table 27. truth table for power down mode: (pd= power down) adc dac mixer vref aclink int clk hp-out mono-out spk-out pr0=1 pd - - - - - - - - pr1=1 - pd - - - - - - - pr2=1 - - pd - - - pd - - pr3=1 pd pd pd pd - - pd - - pr4=1 pd pd - - pd - - - - pr5=1 pd pd - - pd pd - - - pr6=1 - - - - - - pd pd - pr7=1 - - - - - - - - pd www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 35 track id: jatr-1076-21 rev. 1.0 8.15. reg-34h: main serial data port control (stereo i 2 s) default: 0000h table 28. reg-34h: main serial data port control (stereo i 2 s) name bits read/write reset state description stereo_i2s_mode_sel 15 r/w 0?h main serial data port mode selection 0: master 1: slave stereo_i2s_sadlrck_ ctrl_en 14 r/w 0?h sadlrck control: set to ?1? when adc and dac are different sampling rate 0: disable, adc and dac use the same fs 1: enable note: frame clock have to input from sdalrck when this bit set to?0? reserved 13 r 0?h reserved stereo_i2s_bclk_ polarity_ctrl 12 r/w 0?h stereo i 2 s bclk polarity control 0: normal 1: invert i2s_da_sigma_ delta_clock_sel 11 r/w 0?h i 2 s_da sigma delta clock source select 0b: from da filter 1b: from da sigma delta clock divider i2s_da_sigma_ delta_clock_div 10:8 r/w 0?h i 2 s da sigma delta clock divider 000b: 2 001b: 4 010b: 8 011b: 16 100b: 32 101b: 64 others: reserved reserved 7 r/w 0?h reserved stereo_i2s_pcm_ mode_sel 6 r/w 0?h pcm mode select 0: mode a 1: mode b non pcm mode control 0: normal sadlrck / sdalrck 1: invert sadlrck / sdalrck note: only support when stereo_i2s_sadlrck_ctrl_en =?0? reserved 5:4 r 0?h reserved stereo_i2s_data_ len_sel 3:2 r/w 0?h data length selection 00: 16 bits 01: 20 bits 10: 24 bits 11: 32 bits stereo_i2s_data_ format_sel 1:0 r/w 0?h stereo pcm data format selection 00: i 2 s format 01: right justified 10: left justified 11: pcm format www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 36 track id: jatr-1076-21 rev. 1.0 8.16. reg-36h: extend serial data port control (vodac_i2s/pcm) default: 0000h table 29. reg-36h: extend serial data port control (vodac_i 2 s/pcm) name bits read/write reset state description vopcm_en 15 r/w 0?b enable pcm interface on gpio1, 3, 4, 5 0: gpio function 1: vopcm interface voice_port_sel 14 r/w 0?h extend serial data port mode selection 0: master 1: slave reserved 13:9 r 00?h reserved voice_adc_enable 8 r/w 0?b voice adc enable 0b: disable (adc_l=adc_r=stereo) 1b: enable (adc_l=stereo, adc_r=voice) voice_vbclk_polarity_ctrl 7 r/w 0?h voice i 2 s vbclk polarity control 0: normal 1: invert voice_pcm_mode_sel 6 r/w 0?h pcm mode select 0: mode a 1: mode b non pcm mode control 0: normal vslrck 1: invert vslrck reserved 5:4 r 0?h reserved voice_data_len_sel 3:2 r/w 0?h data length selection 00: 16 bits 01: 20 bits 10: 24 bits 11: 32 bits voice_data_format_sel 1:0 r/w 0?h voice data format selection 00: i 2 s format 01: right justified 10: left justified 11: pcm format www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 37 track id: jatr-1076-21 rev. 1.0 8.17. reg-3ah: power management addition 1 default: 0000h table 30. reg-3ah: power management addition 1 name bits read/write reset state description depop_monooutb 15 r/w 0?h depop of mono out 0: enable (de-pop enable) 1: disable (de-pop disable) depop_hp_outb 14 r/w 0?h depop of hp out 0: enable (de-pop enable) 1: disable (de-pop disable) pow_zcd 13 r/w 0?h all zero-cross detect power down 0: disable 1: enable reserved 12 r/w 0?h reserved main_i2s_en 11 r/w 0?h main i 2 s digital interface enable 0: disable 1: enable reserved 10:6 r/w 0?h reserved pow_mic1_bias_det_ctrl 5 r/w 0?h micbias1 short current detector control 0: disable 1: enable pow_mic2_bias_det_ctrl 4 r/w 0?h micbias2 short current detector control 0: disable 1: enable pow_mic1_bias 3 r/w 0?h 0: disable 1: enable microphone1 bias pow_mic2_bias 2 r/w 0?h 0: disable 1: enable microphone2 bias pow_main_bias 1 r/w 0?h 0: disable 1: enable main bias of the ALC5620 pow_dac_ref 0 r/w 0?h 0: disable 1: enable dac reference of the ALC5620 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 38 track id: jatr-1076-21 rev. 1.0 8.18. reg-3ch: power management addition 2 default: 0000h table 31. reg-3ch: power management addition 2 name bits read/write reset state description pow_thermal 15 r/w 0?h thermal detect (temp sensor) 0: disable 1: enable pow_clsab 14 r/w 0?h class_ab power (all) 0: disable 1: enable pow_vref 13 r/w 0?h vref of all analog circuits 0: disable 1: enable pow_pll 12 r/w 0?h pll 0: disable 1: enable pll reserved 11 r/w 0?h reserved pow_voice_dac 10 r/w 0?h vodac clock 0: disable 1: enable note: disabled includes voice_i 2 s interface. pow_dac_l 9 r/w 0?h left stereo dac filter clock 0: disable 1: enable pow_dac_r 8 r/w 0?h right stereo dac filter clock 0: disable 1: enable pow_adc_l 7 r/w 0?h left stereo adc filter clock and input gain 0: disable 1: enable pow_adc_r 6 r/w 0?h right stereo adc filter clock and input gain 0: disable 1: enable pow_hp_l 5 r/w 0?h left headphone mixer 0: disable 1: enable pow_hp_r 4 r/w 0?h right headphone mixer 0: disable 1: enable pow_spk 3 r/w 0?h speaker mixer 0: disable 1: enable pow_mono 2 r/w 0?h mono mixer 0: disable 1: enable pow_adc_rec_l 1 r/w 0?h left adc record mixer 0: disable 1: enable pow_adc_rec_r 0 r/w 0?h right adc record mixer 0: disable 1: enable www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 39 track id: jatr-1076-21 rev. 1.0 8.19. reg-3eh: power management addition 3 default: 0000h table 32. reg-3eh: power management addition 3 name bits read/write reset state description reserved 15 r 0?h reserved pow_mono_out_vol 14 r/w 0?h mono_out volume control (amp) 0: disable 1: enable pow_spk_outln 13 r/w 0?h spk_outln output (enable class ab & class d) 0: disable 1: enable pow_spk_outrn 12 r/w 0?h spk_outrn output (enable class ab & class d) 0: disable 1: enable pow_hp_l_vol 11 r/w 0?h hp_out_l volume control (amp) 0: disable 1: enable pow_hp_r_vol 10 r/w 0?h hp_out_r volume control (amp) 0: disable 1: enable pow_spk_l 9 r/w 0?h spk_out_l output (enable class ab & class d) 0: disable 1: enable pow_spk_r 8 r/w 0?h spk_out_r output (enable class ab & class d) 0: disable 1: enable pow_li_l_vol 7 r/w 0?h line_in left volume control 0: disable 1: enable pow_li_r_vol 6 r/w 0?h line_in right volume control 0: disable 1: enable pow_phone_vol 5 r/w 0?h phone volume control 0: disable 1: enable pow_phone_admixer 4 r/w 0?h phone ad mixer 0: disable 1: enable pow_mic1_vol 3 r/w 0?h mic1 volume control 0: disable 1: enable pow_mic2_vol 2 r/w 0?h mic2 volume control 0: disable 1: enable pow_mic1_admixer 1 r/w 0?h mic1 ad mixer and boost 0: disable 1: enable pow_mic2_admixer 0 r/w 0?h mic2 ad mixer and boost 0: disable 1: enable www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 40 track id: jatr-1076-21 rev. 1.0 figure 15. power control to mic input 8.20. reg-40h: general purpose control register 1 default: 0428h table 33. reg-40h: general purpose control register 1 name bits read/ write reset state description sel_sysclk 15 r/w 0?h stereo sysclk source select 0: mclk 1: pll output extclk_dir 14 r/w 0?h extclk direction control 0: input 1: output reserved 13:10 r/w 1?h reserved hp_amp_ctrl 9:8 r/w 0?h headphone amplifier v mid ratio control (output gain control) 00: 1 01: 1.25 1x: 1.5 spk_ampd_ctrl 7:6 r/w 0?h speaker class d amplifier v mid ratio control (output gain control) 00: 1.75 vdd 01: 1.5 vdd 10: 1.25 vdd 11: 1.0 vdd spk_ampab_ctrl 5:3 r/w 5?h speaker class ab amplifier v mid ratio control (output gain control) 000: 2.25 vdd 001: 2.00 vdd 010: 1.75 vdd 011: 1.5 vdd 100: 1.25 vdd 101: 1 vdd others: not allowed reserved 2 r/w 0?h reserved a1_status 1 r 0?h a1 pin status for i 2 c 0: 0 1: 1 reserved 0 r/w 0?h reserved www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 41 track id: jatr-1076-21 rev. 1.0 8.21. reg-42h: general purpose control register 2 default: 0000h table 34. reg-42h: general purpose control register 2 name bits read/write reset state description voice_stereo_digitalpath_en 15 r/w 0?b voice to stereo digital path enable 0b: disable 1b: enable reserved 14 r/w 0?h reserved se_btl_clsab 13 r/w 0?b single end & btl of class ab selection: 0: differential mode 1: single-end mode reserved 12:1 r/w 0?h reserved pll_pre_div 0 r/w 0?b pll pre-divider 0b: 1 1b: 2 8.22. reg-44h: pll control default: 0000h table 35. reg-44h: pll control name bits read/write reset state description pll_n_code 15:8 r/w 00?h n[7:0] code for analog pll 00000000: div 2 00000001: div 3 ???.. 11111111: div 257 pll_m_bypass 7 r/w 0?h bypass pll m 0b: no bypass 1b: bypass pll_k_code 6:4 r/w 0?h k[2:0] code for analog pll 000: div 2 001: div 3 ???? 111: div 9 pll_m_code 3:0 r/w 0?h m[3:0] code for analog pll 0000: div 2 0001: div 3 ???? 1111: div 17 note: the pll1 transmit formula is fout = (mclk * (n+2))/((m+2) * (k+2)) {typical k=2} www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 42 track id: jatr-1076-21 rev. 1.0 8.22.1. ac-link pll clock setting table (unit: mhz) table 36. i 2 c+i 2 s clock setting table for 48k: (unit: mhz) mclk n m f vco k f out 13 66 7 98.222 2 24.555 3.6864 78 1 98.304 2 24.576 2.048 94 0 98.304 2 24.576 4.096 70 1 98.304 2 24.576 12 80 8 98.4 2 24.6 15.36 81 11 98.068 2 24.517 16 78 11 98.462 2 24.615 19.2 80 14 98.4 2 24.6 19.68 78 14 98.4 2 24.6 table 37 i 2 c+i 2 s clock setting table for 44.1k: (unit: mhz) mclk n m f vco k f out 13 68 8 91 2 22.75 3.6864 72 1 90.931 2 22.733 2.048 86 0 90.112 2 22.528 4.096 64 1 90.112 2 22.528 12 66 7 90.667 2 22.667 15.36 63 9 90.764 2 22.691 16 66 10 90.667 2 22.667 19.2 64 12 90.514 2 22.629 19.68 67 13 90.528 2 22.632 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 43 track id: jatr-1076-21 rev. 1.0 8.23. reg-4ch: gpio pin configuration default: 2e3eh table 38. reg-4ch: gpio pin configuration name bits read/write reset state description reserved 15:12 r 00?h reserved over_temp_conf 11 r/w 1?h over-temperature status source configuration 0: bypass 1: normal mic1_short_det_conf 10 r/w 1?h micbias1 short current status source configuration 0: bypass 1: normal mic2_short_det_conf 9 r/w 1?h micbias2 short current status source configuration 0: bypass 1: normal reserved 8:6 r 0?h reserved gpio5_conf 5 r/w 1?h gpio5 pin configuration 0: output 1: input gpio4_conf 4 r/w 1?h gpio4 pin configuration 0: output 1: input gpio3_conf 3 r/w 1?h gpio3 pin configuration 0: output 1: input gpio2_conf 2 r/w 1?h gpio2 pin configuration 0: output 1: input gpio1_conf 1 r/w 1?h gpio1 pin configuration 0: output 1: input reserved 0 r 0?h reserved. read as 0 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 44 track id: jatr-1076-21 rev. 1.0 8.24. reg-4eh: gpio pin polarity default: 2e3eh table 39. reg-4eh: gpio pin polarity name bits read/write reset state description reserved 15:12 r 00?h reserved over_temp_polarity 11 r/w 1?h over-temperature polarity 0: low active 1: high active mic1_short_det_polarity 10 r/w 1?h micbi as1 short current detect polarity 0: low active 1: high active mic2_short_det_polarity 9 r/w 1?h micbi as2 short current detect polarity 0: low active 1: high active reserved 8:6 r 0?h reserved. read as 0 gpio5_polarity 5 r/w 1?h gpio pin polarity 0: low active 1: high active gpio4_polarity 4 r/w 1?h gpio pin polarity 0: low active 1: high active gpio3_polarity 3 r/w 1?h gpio pin polarity 0: low active 1: high active gpio2_polarity 2 r/w 1?h gpio pin polarity 0: low active 1: high active gpio1_polarity 1 r/w 1?h gpio pin polarity 0: low active 1: high active reserved 0 r 0?h reserved. read as 0 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 45 track id: jatr-1076-21 rev. 1.0 8.25. reg-50h: gpio pin sticky default: 0000h table 40. reg-50h: gpio pin sticky name bits read/write reset state description reserved 15:12 r 00?b reserved over_temp_sticky_en 11 r/w 0?h over-temperature sticky enable 0: not sticky 1: sticky mic1_short_det_sticky_en 10 r/w 0?h micbias1 short current detect sticky enable 0: not sticky 1: sticky mic2_short_det_sticky_en 9 r/w 0?h micbias2 short current detect sticky enable 0: not sticky 1: sticky reserved 8:6 r 0?h reserved. read as 0 gpio5_sticky_en 5 r/w 0?h gpio5 pin sticky enable 0: not sticky 1: sticky gpio4_sticky_en 4 r/w 0?h gpio4 pin sticky enable 0: not sticky 1: sticky gpio3_sticky_en 3 r/w 0?h gpio3 pin sticky enable 0: not sticky 1: sticky gpio2_sticky_en 2 r/w 0?h gpio2 pin sticky enable 0: not sticky 1: sticky gpio1_sticky_en 1 r/w 0?h gpio1 pin sticky enable 0: not sticky 1: sticky reserved 0 r 0?h reserved. read as 0 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 46 track id: jatr-1076-21 rev. 1.0 8.26. reg-52h: gpio pin wake-up default: 0000h table 41. reg-52h: gpio pin wake-up name bits read/write reset state description reserved 15:12 r 00?b reserved over_temp_wakeup_en 11 r/w 0?h over-temperature wake-up enable 0: no wake-up 1: wake up mic1_short_det_wakeup _en 10 r/w 0?h micbias1 short current detect wake-up enable 0: no wake-up 1: wake up mic2_short_det_wakeup _en 9 r/w 0?h micbias2 short current detect wake-up enable 0: no wake-up 1: wake up reserved 8:6 r 0?h reserved. read as 0 gpio5_wakeup_en 5 r/w 0?h gpio5 pin wake-up enable 0: no wake-up 1: wake up gpio4_wakeup_en 4 r/w 0?h gpio4 pin wake-up enable 0: no wake-up 1: wake up gpio3_wakeup_en 3 r/w 0?h gpio3 pin wake-up enable 0: no wake-up 1: wake up gpio2_wakeup_en 2 r/w 0?h gpio2 pin wake-up enable 0: no wake-up 1: wake up gpio1_wakeup_en 1 r/w 0?h gpio1 pin wake-up enable 0: no wake-up 1: wake up reserved 0 r 0?h reserved. read as 0 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 47 track id: jatr-1076-21 rev. 1.0 8.27. reg-54h: gpio pin status default: 003ah table 42. reg-54h: gpio pin status name bits read/write reset state description reserved 15:12 r 00?b reserved over_temp_status 11 r 0?h over-temperature status read: return status write: writing ?0? clears the sticky bit mic1_short_det_status 10 r 0?h micbias1 short current detect status read: return status write: writing ?0? clears the sticky bit mic2_short_det_status 9 r 0?h micbias2 short current detect status read: return status write: writing ?0? clears the sticky bit reserved 8:6 r 0?h reserved. read as 0 gpio5_status 5 r 1?h gpio5 pin status read: return status of each gpio pin write: writing ?0? clears the sticky bit gpio4_status 4 r 1?h gpio4 pin status read: return status of each gpio pin write: writing ?0? clears the sticky bit gpio3_status 3 r 1?h gpio3 pin status read: return status of each gpio pin write: writing ?0? clears the sticky bit gpio2_status 2 r 1?h gpio2 pin status read: return status of each gpio pin write: writing ?0? clears the sticky bit gpio1_status 1 r 1?h gpio1 pin status read: return status of each gpio pin write: writing ?0? clears the sticky bit reserved 0 r 0?h reserved. read as 0 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 48 track id: jatr-1076-21 rev. 1.0 8.28. reg-56h: pin sharing default: 0000h table 43. reg-56h: pin sharing name bits read/write reset state description reserved 15:3 r 0?h reserved gpio2_pin_sharing 2 r/w 0?h gpio2 pin sharing 0: irq_out 1: gpio enable reserved 1:0 r 0?h reserved figure 16. gpio and irq logic www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 49 track id: jatr-1076-21 rev. 1.0 8.29. reg-58h: over-temp/current status default: 0cffh table 44. reg-58h: over-temp / current status name bits read/write reset state description reserved 15:12 r 0000?h reserved ovt_hp_status 11 r 1?h headphone amp over-temperature 0: normal 1: over-temperature ovt_mono_status 10 r 1?h mono amp over-temperature 0: normal 1: over-temperature ovc_micbias1_status 9 r 0?h micbias1 over-current 0: normal 1: over-current ovc_micbias2_status 8 r 0?h micbias2 over-current 0: normal 1: over-current rp_depop_status 7 r 1?h rp channel depop status 0: depop ready 1: depop finished rn_depop_status 6 r 1?h rn channel depop status 0: depop ready 1: depop finished lp_depop_status 5 r 1?h lp channel depop status 0: depop ready 1: depop finished ln_depop_status 4 r 1?h ln channel depop status 0: depop ready 1: depop finished ovt_rp_status 3 r 1?h rp channel temperature sensor status 0: normal 1: over-temperature ovt_rn_status 2 r 1?h rn channel temperature sensor status 0: normal 1: over-temperature ovt_lp_status 1 r 1?h lp channel temperature sensor status 0: normal 1: over-temperature ovt_ln_status 0 r 1?h ln channel temperature sensor status 0: normal 1: over-temperature www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 50 track id: jatr-1076-21 rev. 1.0 8.30. reg-5ch: gpio_output pin control default: 0000h table 45. reg-5ch: gpio_output pin control name bits read/write reset state description reserved 15:6 r 0000?h reserved gpio5_out_status 5 r/w 0?h gpio5 output pin control 0b: drive low 1b: drive high gpio4_out_status 4 r/w 0?h gpio4 output pin control 0b: drive low 1b: drive high gpio3_out_status 3 r/w 0?h gpio3 output pin control 0b: drive low 1b: drive high gpio2_out_status 2 r/w 0?h gpio2 output pin control 0b: drive low 1b: drive high gpio1_out_status 1 r/w 0?h gpio1 output pin control 0b: drive low 1b: drive high reserved 0 r 0?h reserved. read as 0 8.31. reg-5eh: misc control default: 0000h table 46. reg-5eh: misc control name bits read/write reset state description en_vref_fast 15 r/w 0?b enable fast vreg 0: enable fast vref 1: disable fast vref note: to improve psrr, en_vref_fast should be disabled before playback/record. clsab_amp_sel 14 r/w 0?b class ab output amplifier select 0: strong amp 1: weak amp note: strong amp, spkvdd: 3.0v~5v and set index44[8:6]=100?b weak amp, spkvdd: 2.3v~5v and set index44[8:6]=000?b www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 51 track id: jatr-1076-21 rev. 1.0 name bits read/write reset state description avc_target_sel 13:12 r/w 0?b avc target select 00: reserved (no avc) 01: r channel 10: l channel 11: both channel thermal_shutdown_en 11 r/w 0?b thermal shutdown enable 0: disable 1: enable reserved 10:7 r/w 0?h reserved main_dac_l_mute 6 r/w 0?h mute main dac left input 0: on 1: mute (- db) main_dac_r_mute 5 r/w 0?h mute main dac right input 0: on 1: mute (- db) voice_dac_mute 4 r/w 0?h mute voice dac input 0: on 1: mute (- db) reserved 3:1 r/w 0?h reserved irqout_inv_ctrl 0 r/w 0?h irqout inverter control 0: normal 1: invert the jack-insert-detect pull up resister is implemen ted via an external circuit (see figure 17 below). figure 17. jack-insert-detect pull up resist er implemented via an external circuit www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 52 track id: jatr-1076-21 rev. 1.0 8.32. reg-60h: stereo dac clock control_1 default: 3075h table 47. reg-60h: stereo dac clock control_1 name bits read/write reset state description stereo_i2s_sclk_div1 15:12 r/w 3?h stereo i 2 s sclk div1 0000b: 1 0001b: 2 0010b: 3 ????. 1101b: 14 1110b: 15 1111b: 16 reserved 11 r/w 0?h reserved stereo_i2s_sclk_div2 10:8 r/w 0?h stereo i 2 s sclk div2 000b: 2 001b: 4 010b: 8 011b: 16 100b: 32 others: reserved stereo_i2s_ad_wclk_div1 7:4 r/w 7?h stereo i 2 s ad wclk div1 0000b: 1 0001b: 2 0010b: 3 ????. 1101b: 14 1110b: 15 1111b: 16 stereo_i2s_ad_wclk_div2 3:1 r/w 010?b stereo i 2 s ad wclk div2 000b: 2 001b: 4 010b: 8 011b: 16 100b: 32 others: reserved stereo_i2s_da_wclk_div 0 r/w 1?h stereo i 2 s da wclk div 0b: 32 1b: 64 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 53 track id: jatr-1076-21 rev. 1.0 8.33. reg-62h: stereo dac clock control_2 default: 1010h table 48. reg-62h: stereo dac clock control_2 name bits read/write reset state description stereo_i2s_da_filter_div1 15:12 r/w 1?h stereo i 2 s da filter div1 0000b: 1 0001b: 2 0010b: 3 ???? 1101b: 14 1110b: 15 1111b: 16 stereo_i2s_da_filter_div2 11:9 r/w 0?h stereo i 2 s da filter div2 000b: 2 001b: 4 010b: 8 011b: 16 100b: 32 others: reserved reserved 8 r/w 0?h reserved stereo_i2s_ad_filter_div1 7:4 r/w 1?h stereo i 2 s ad filter div1 0000b: 1 0001b: 2 0010b: 3 ???? 1101b: 14 1110b: 15 1111b: 16 stereo_i2s_ad_filter_div2 3:1 r/w 0?h stereo i 2 s ad filter div2 000b: 2 001b: 4 010b: 8 011b: 16 100b: 32 others: reserved reserved 0 r/w 0?h reserved www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 54 track id: jatr-1076-21 rev. 1.0 8.34. reg-64h: vodac_pcm clock control_1 default: 2130h table 49. reg-64h: vodac_pcm clock control_1 name bits read/write reset state description voice_mclk_sel 15 r/w 0?h voice master-clock select 0b: mclk input 1b: pll output voice_sysclk_sel 14 r/w 0?h vo ice system-clock select 0b: mclk 1b: extclk i2s_wclk voice_master_sel 13 r/w 1?h i 2 s word-clock voice master select 0b: 32 1b: 64 reserved 12:11 r 0?b reserved extclk_out_sel 10:8 r/w 1?h external clock-out select 000b: 1 001b: 2 010b: 4 011b: 8 100b: 16 others: reserved i2s_sclk_voice_master_sel_1 7:4 r/w 3?h i 2 s bit-clock voice master select 1 0000b: 1 0001b: 2 0010b: 3 ???? 1101b: 14 1110b: 15 1111b: 16 reserved 3 r 0?b reserved i2s_sclk_voice_master_sel_2 2:0 r/w 0?h i 2 s bit-clock voice master select 2 000b: 2 001b: 4 010b: 8 011b: 16 100b: 32 others: reserved note: the driver must determine the voice ad/da filter clock, and select the filter by setting voice_64osr (see table 50). www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 55 track id: jatr-1076-21 rev. 1.0 8.35. reg-66h: vodac_pcm clock control_2 default: 0010h table 50. reg-66h: vodac_pcm clock control_2 name bits read/write reset state description sel_clk_filter_slave 15 r/w 0?h select voice clock filter slave 0b: 1 1b: 2 sel_clk_filter 14 r/w 0?h select voice clock filter source 0b: from mclk/extclk 1b: from vbclk voice_64osr 13 r/w 0?h voice da/ad filter select 0b: 128x 1b: 64x reserved 12:8 r 0?h reserved clk_filter_master_sel_1 7:4 r/w 1?h clock filter master select 1 000b: 1 001b: 2 010b: 3 ???? 1101b: 14 1110b: 15 1111b: 16 reserved 3 r 0?h reserved clk_filter_master_sel_2 2:0 r/w 0?h clock filter master select 2 000b: 2 001b: 4 010b: 8 011b: 16 100b: 32 others: reserved note: the driver must determine the voice ad/da filter clock, and select the filter by setting voice_64osr (see table 50). www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 56 track id: jatr-1076-21 rev. 1.0 8.36. reg-68h: pseudo stereo and spatial effect block control default: 0053h table 51. reg-68h: pseudo stereo and spatial effect block control name bits read/write reset state description spatial_ctrl_enable 15 r/w 0?b spatial enable 0b: disable (clear internal state) 1b: enable apf_en 14 r/w 0?h enable all pass filter apf(z) (en-apf) 0: disable (bypass) and reset. 1: enable all pass filters. the coefficient a1 is loaded from apf_parm_a1[7:0] pseudo_stereo_en 13 r/w 0?h enable pseudo stereo block (en-psb) 0: disabled 1: enabled en_3d 12 r/w 0?h enable stereo expansion block (en-seb) 0: disable 1: enabled. load 3d ratio from ratio_parm_3d and 3d gain from gain_parm_3d reserved 11:8 - 0?h reserved gain_parm_3d 7:6 r/w 1?h 3d gain parameter (segn) 00: gain=1.0 01: gain=1.5 10: gain=2.0 11: reserved ratio_parm_3d 5:4 r/w 1?h 3d ratio parameter (dpn) 00: ratio=0.0 01: ratio=0.66 10: ratio=1.0 11: reserved reserved 3:2 - 0?h reserved apf_parm_a1 1:0 r/w 3?h all pass filter parameter 00: disable 01: enable for 32khz sample rate or lower 10: enable for 44.1khz sample rate 11: enable for 48khz sample rate note: writes to segn and dpn will be ignored when the spa tial effect control bit is enabled. this means individual spatial coefficients cannot be modified when spatial is enabled. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 57 track id: jatr-1076-21 rev. 1.0 8.37. reg-6ah: index address default: 0000h table 52. reg-6ah: index address name bits read/write reset state description reserved 15:7 r 0?h reserved index_addr 6:0 r/w 0?h index address 8.38. reg-6ch: index data default: 0000h table 53. reg-6ch: index data name bits read/write reset state description index_data 15:0 r/w 0?h index data 8.39. reg-6eh: eq status default: 0000h table 54. reg-6eh: eq status name bits read/write reset state description reserved 15:5 r 0?h reserved eq_hpf_status 4 r 0?h eq high-pass filter (hpf) status 0: normal 1: overflow. this bit is set if overflow has occurred. write 1 to clear. eq_bpf3_status 3 r 0?h eq band-3 (bp3) status 0: normal 1: overflow. this bit is set if overflow has occurred. write 1 to clear. eq_bpf2_status 2 r 0?h eq band-2 (bp2) status 0: normal 1: overflow. this bit is set if overflow has occurred. write 1 to clear. eq_bpf1_status 1 r 0?h eq band-1 (bp1) status 0: normal 1: overflow. this bit is set if overflow has occurred. write 1 to clear. eq_lpf_status 0 r 0?h eq low-pass filter (lpf) status 0: normal 1: overflow. this bit is set if overflow has occurred. write 1 to clear. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 58 track id: jatr-1076-21 rev. 1.0 8.40. index-00h: eq band-0 coefficient (lp0: a1) default: 0000h table 55. index-00h: eq band-0 coefficient (lp0: a1) bit type function 15:0 r/w 2?s complement in 3.13 formats (the range is from ?4~3.99, the a1 should be in -2 ~ 1.99) note: for low pass filter for bass control ? lp0 has filter coefficient a1 and gain ho must be set (see table 56). 8.41. index-01h: eq band-0 gain (lp0: ho) default: 0000h table 56. index-01h: eq band-0 gain (lp0: ho) bit type function 15:0 r/w 2?s complement in 3.13 format (the range is from ?4~3.99, the ho should be in -4 ~ 3.99) 8.42. index-02h: eq band-1 coefficient (bp1: a1) default: 0000h table 57. index-02h: eq band-1 coefficient (bp1: a1) bit type function 15:0 r/w 2?s complement in 3.13 format (the range is from ?4~3.99, the a1 should be in -2 ~ 1.99) 8.43. index-03h: eq band-1 coefficient (bp1: a2) default: 0000h table 58. index-03h: eq band-1 coefficient (bp1: a2) bit type function 15:0 r/w 2?s complement in 3.13 format (the range is from ?4~3.99, the a1 should be in -2 ~ 1.99) 8.44. index-04h: eq band-1 gain (bp1: ho) default: 0000h table 59. index-04h: eq band-1 gain (bp1: ho) bit type function 15:0 r/w 2?s complement in 3.13 format (the range is from ?4~3.99, the ho should be in -4 ~ 3.99) www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 59 track id: jatr-1076-21 rev. 1.0 8.45. index-05h: eq band-2 coefficient (bp2: a1) default: 0000h table 60. index-05h: eq band-2 coefficient (bp2: a1) bit type function 15:0 r/w 2?s complement in 3.13 format (the range is from ?4~3.99, the a1 should be in -2 ~ 1.99) 8.46. index-06h: eq band-2 coefficient (bp2: a2) default: 0000h table 61. index-06h: eq band-2 coefficient (bp2: a2) bit type function 15:0 r/w 2?s complement in 3.13 format (the range is from ?4~3.99, the a2 should be in -2 ~ 1.99) 8.47. index-07h: eq band-2 gain (bp2: ho) default: 0000h table 62. index-07h: eq band-2 gain (bp2: ho) bit type function 15:0 r/w 2?s complement in 3.13 format (the range is from ?4~3.99, the ho should be in -4 ~ 3.99) 8.48. index-08h: eq band-3 coefficient (bp3: a1) default: 0000h table 63. index-08h: eq band-3 coefficient (bp3: a1) bit type function 15:0 r/w 2?s complement in 3.13 format (the range is from ?4~3.99, the a1 should be in -2 ~ 1.99) 8.49. index-09h: eq band-3 coefficient (bp3: a2) default: 0000h table 64. index-09h: eq band-3 coefficient (bp3: a2) bit type function 15:0 r/w 2?s complement in 3.13 format (the range is from ?4~3.99, the a2 should be in -2 ~ 1.99) www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 60 track id: jatr-1076-21 rev. 1.0 8.50. index-0ah: eq band-3 gain (bp3: ho) default: 0000h table 65. index-0ah: eq band-3 gain (bp3: ho) bit type function 15:0 r/w 2?s complement in 3.13 format (the range is from ?4~3.99, the ho should be in -4 ~ 3.99) 8.51. index-0bh: eq band-4 coefficient (hpf: a1) default: 0000h table 66. index-0bh: eq band-4 coefficient (hpf: a1) bit type function 15:0 r/w 2?s complement in 3.13 format (the range is from ?4~3.99, the a1 should be in -2 ~ 1.99) 8.52. index-0ch: eq band-4 gain (hpf: ho) default: 0000h table 67. index-0ch: eq band-4 gain (hpf: ho) bit type function 15:0 r/w 2?s complement in 3.13 format (the range is from ?4~3.99, the ho should be in -2 ~ 1.99) www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 61 track id: jatr-1076-21 rev. 1.0 8.53. index-10h: eq control and status register default: 0000h table 68. index-10h: eq control and status register bit type function 15 r/w eq block control 0b: disable 1b: enable 14:5 - reserved 4 r/w eq high-pass filter (hpf) control 0: disabled (bypass) and reset 1: enabled 3 r/w eq band-3 (bp3) control 0: disabled and reset 1: enabled 2 r/w eq band-2 (bp2) control 0: disabled and reset 1: enabled 1 r/w eq band-1 (bp1) control 0: disabled and reset 1: enabled 0 r/w eq low-pass filter (lpf) control 0: disabled and reset 1: enabled note: individual eq coefficients cannot be modified when eq is enabled. 8.54. index-11h: eq input volume control default: 0000h table 69. index-11h: eq input volume control bit type function 15:2 - reserved 1:0 r/w 7-bit volume unsigned ratio eqin-vol-lr 00b: 0db 01b: -6db 10b: -12db 11b: -18db www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 62 track id: jatr-1076-21 rev. 1.0 8.55. index-12h: eq output volume control default: 0001h table 70. index-12h: eq output volume control bit type function 15:3 - reserved 2:0 r/w 7-bit volume unsigned ratio eqout-vol-lr 000b: -3db 001b: 0db 010b: 3db 011b: 6db 100b: 9db 101b: 12db 110b: 15db 111b: 18db 8.56. index-20h: auto volume control register 0 default: 0050h table 71. index-20h: auto volume control register 0 bit type function 15 r/w select the controlled gain block for avc (default: 00b) 0: disable avc 1: enable avc to control adc gain 14:8 - reserved 7:3 r/w monitor window control (unit: 2^(n+1) samples) (default: 01010b) 00000b: 2^(1) sample 00001b: 2^(2) samples 00010b: 2^(3) samples, ? 10000b: 2^(17) samples, ? others: reserved. maximum n=16 note: the monitor window can only be changed after soft-reset when avc is enabled 2:1 - reserved 0 r/w avc reference channel selection (default: 0b) 0: left channel 1: right channel www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 63 track id: jatr-1076-21 rev. 1.0 8.57. index-21h: auto volume control register 1 default: 2710h table 72. index-21h: auto volume control register 1 bit type function 15 - reserved 14:0 r/w the maximum pcm absolute level after avc, thmax (=0 ~ 2^15-1) 8.58. index-22h: auto volume control register 2 default: 0bb8h table 73. index-22h: auto volume control register 2 bit type function 15 - reserved 14:0 r/w the minimum pcm absolute level after avc, thmin (=0 ~ 2^15-1) 8.59. index-23h: auto volume control register 3 default: 01f4h table 74. index-23h: auto volume control register 3 bit type function 15 - reserved 14:0 r/w the non-active pcm absolute level avc will keep analog unit gain, thnonact (=0 ~ 2^15-1) note: initial index23=0001?h 8.60. index-24h: auto volume control register 4 default: 0190h table 75. index-24h: auto volume control register 4 bit type function 15:0 r/w the cntmaxth1 that controls sensitivity to gain increase (unit:2^1) this value should be less than cntmaxth2 (max:2^17) www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 64 track id: jatr-1076-21 rev. 1.0 8.61. index-25h: auto volume control register 5 default: 0200h table 76. index-25h: auto volume control register 5 bit type function 15:0 r/w the cntmaxth2 to control the sensitivity to decrease gain (unit:2^1) this value should be less than monitor window (optimized: 1/2 monitor window) (max:2^17) note: cntmaxth1 < cntmaxth2 8.62. index-39h: digital internal register default: 9000h table 77. index-39h: digital internal register bit type function 15 r/w pad drive capability 0b: weak drive 1b: strong drive 14:0 r/w reserved 8.63. index-44h: class ab internal register default: f920h table 78. index-44h: cla ss ab internal register bit type function 15 r/w pow_clsab lp: class_ab left positive channel 0: power down 1: power on 14 r/w pow_clsab ln: class_ab left negative channel 0: power down 1: power on 13 r/w pow_clsab rp: class_ab right positive channel 0: power down 1: power on 12 r/w pow_clsab rn: class_ab right negative channel 0: power down 1: power on 11:0 r/w reserved www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 65 track id: jatr-1076-21 rev. 1.0 8.64. index-4ah: class d temperature sensor default: 4444h table 79. index-4ah: class d temperature sensor bit type function 15 r/w reserved 14:12 r/w rp channel temp. sensor threshold setting 001: 35 c 011: 65 c 101: 95 c 111: 125 c 11 r/w reserved 10:8 r/w rn channel temp. sensor threshold setting 001: 35 c 011: 65 c 101: 95 c 111: 125 c 7 r/w reserved 6:4 r/w lp channel temp. sensor threshold setting 001: 35 c 011: 65 c 101: 95 c 111: 125 c 3 r/w reserved 2:0 r/w ln channel temp. sensor threshold setting 001: 35 c 011: 65 c 101: 95 c 111: 125 c note: tolerance: 15 c 8.65. index-54h: ad_da_mixer_internal register default: 8184h table 80. index-54h: ad_da_mixer_internal register bit type function 15 r/w reserved 14:13 r/w dac reference source 01: internal dac reference (avdd & dac reference cannot be bonded together) 11: external dac reference (avdd/agnd as dac reference) others: forbidden 12:3 r/w reserved 2:0 r/w temp. sensor for threshold setting 001: 35 c 011: 65 c 101: 95 c 111: 125 c note: tolerance: 15 c note: to reduce dac power consumption, we suggest that index54=e184?h be initialized. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 66 track id: jatr-1076-21 rev. 1.0 8.66. reg-7ch: vendor id 1 default: 10ech table 81. reg-7ch: vendor id 1 name bits read/write reset state description vender_id1 15:0 r 10ec?h vendor id=10ec 8.67. reg-7eh: vendor id 2 default: 2003h table 82. reg-7eh: vendor id 2 name bits read/write reset state description vender_id 15:8 r 10?h device id=20 device_id2 7:0 r 03?h version id=03 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 67 track id: jatr-1076-21 rev. 1.0 9. electrical characteristics 9.1. dc characteristics 9.1.1. absolute maximum ratings table 83. absolute maximum ratings parameter symbol min typ max units power supplies digital io buffer digital core analog touch panel headphone speaker dvdd1 dvdd2 avdd tpvdd hpvdd spkvdd -0.3 -0.3 -0.3 -0.3 -0.3 -0.3 - - - - - - 3.63 3.63 3.63 3.63 3.63 7 1 v v v v v v operating ambient temperature ta -25 - +85 o c storage temperature ts -55 - +125 o c note: spkvdd =5v with 3.5% duty cycle powe r bouncing up to sp kvdd=8v is acceptable. 9.1.2. recommended operating conditions table 84. recommended operating conditions parameter symbol min typ max units digital io buffer dvdd1 1.8 1 3.3 3.6 v digital core dvdd2 1.8 3.3 3.6 v analog avdd 2.3 3.3 3.6 v touch panel tpvdd 2.3 3.3 3.6 v headphone hpvdd 2.3 3.3 3.6 v speaker spkvdd 2 2.3 3.3 5 v note 1: minimum dvdd1=2.3v when pll is working. note 2: a 10uf capacitor must be connected from spkvdd to agnd, and should be placed as close as possible to the spkvdd pin of the ALC5620. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 68 track id: jatr-1076-21 rev. 1.0 9.1.3. static characteristics table 85. static characteristics parameter symbol min typ max units input voltage range v in -0.30 - dvdd+0.30 v low level input voltage v il - - 0.35dvdd v high level input voltage v ih 0.65dvdd - - v high level output voltage v oh 0.9dvdd - - v low level output voltage v ol - - 0.1dvdd v input leakage current - -1 - 1 ua output leakage current (hi-z) - -1 - 1 ua output buffer high drive current - - 22 - ma output buffer low drive current - - 10 - ma v mid internal serial resistor - 25 50 75 k ? v mid internal serial resistor ratio - 95 100 105 % note: dvdd= 3.3v, t ambient =25 c, with 50pf external load. 9.2. analog performance characteristics table 86. analog performance characteristics parameter min typ max units full scale input voltage line inputs mic inputs (non-boost) mic inputs (boost 20db) adc - - - - 1.0 1.0 0.1 0.7 - - - - vrms vrms vrms vrms full scale output voltage mono outputs headphone amplifiers outputs speaker amplifiers outputs - - - 1.0 1.0 1.3 - - - vrms vrms vrms s/n ratio (a-weighted, hpl/r or mono with 10k ? /50pf load) stereo dac stereo adc voice dac - - - 90 85 70 - - - db db db total harmonic distortion + noise (a-weighted, hpl/r or mono with 10k ? /50pf load) stereo dac stereo adc voice dac - - - -85 -80 -60 - - - db db db mic boost amplifier gain=20db gain=30db gain=40db 18 - - 20 30 40 22 - - db db db www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 69 track id: jatr-1076-21 rev. 1.0 parameter min typ max units input impedance (gain=0db, adc mixer=on/off) phonen (differential mode) mic1n, mic2n (differential mode) mic1p, mic2p phonep - - - - 16 16 16 16 - - - - k ? k ? k ? k ? input impedance (gain=0db, adc mixer=on) line_in 12.8 16 19.2 k ? input impedance (gain=0db, adc mixer=off) line_in 25.6 32 38.4 k ? output impedance mono_out hp_out spk_out (class ab) spk_out (class d) - - - - 2 2 1 0.3 - - - 0.4 ? ? ? ? mono_out amplifier output power (32 ? load) single end mode btl mode 25 75 - - - - mw mw mono_out amplifier quiescent current (32 ? load)/ch - 700 - a mono_out amplifier efficiency (f in =1khz, 32 ? load) single end mode (output power=25mw) btl mode (output power=75mw) 50 50 - - - - % % mono_out amplifier thd+n single end mode (10k ? load) output power=0.1mw btl mode (10k ? load) output power=0.1mw - - 0.01 0.01 - - % % mono_out amplifier psrr - 50 - db headphone amplifier output power (32 ? load) - - 31.25 mw headphone amplifier quiescent current (32 ? load) - 700 - ua headphone amplifier efficiency (f in =1khz, 32 ? load, output power=25mw) 50 - - % headphone amplifier thd+n (32 ? load) output power=20mw output power=25mw - - 70 70 - - db db headphone amplifier psrr - 50 - db btl speaker amplifier output power (spkvdd=5v with 8 ? load) - 1 - w btl speaker amplifier quiescent current class ab_strong (8 ? load) class d - - - - 11 4 ma ma btl speaker amplifier efficiency (f in =1khz, 8 ? load, output power=700mw) class ab class d 50 - - 82 - - % % www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 70 track id: jatr-1076-21 rev. 1.0 parameter min typ max units btl speaker amplifier thd+n (8 ? load) class ab_strong (8 ? load) output power=350mw output power=600mw class d output power=350mw output power=600mw - - - - 70 70 70 60 - - - - db db db db btl speaker amplifier thd+n class ab_weak (10k ? /50pf load) - -85 - db btl speaker amplifier snr class ab_weak (10k ? /50pf load) - -90 - db btl speaker amplifier psrr - 50 - db power supply current i dda (analog block) i ddd (digital block) - - - - 15 20 ma ma power down current i dda (analog block) i ddd (digital block) - - - - 10 1 a a micbias1 output voltage 0.75*avdd setting 0.9*avdd setting - - 2.475 2.97 - - v v micbias1 and micbias2 drive current - 16 - ma micbias2 output voltage 0.75*avdd setting 0.9*avdd setting - - 2.475 2.97 - - v v vref pull up resistor - 50 - k ? note: standard test conditions t ambient =25 c, dvdd=avdd1=avdd2=hpvdd=3.3v, spkvdd=4.2v 1khz input sine wave; pcm sampling frequency=48khz; 0db=1vrms, test bench characterization bw: 10hz~22khz, 0db attenuation; eq and 3d disabled www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 71 track id: jatr-1076-21 rev. 1.0 10. application circuits www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 72 track id: jatr-1076-21 rev. 1.0 11. mechanical dimensions www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 73 track id: jatr-1076-21 rev. 1.0 12. appendix a: stereo i 2 s clock table 12.1. master/slave mode note 1: pll output as system clock only supports master mode note 2: sdalrcl and sadlrck are output in master mode, and are input in slave mode www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 74 track id: jatr-1076-21 rev. 1.0 13. appendix b: voice pcm interface 13.1. master mode: (voice_port_sel=0) www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 75 track id: jatr-1076-21 rev. 1.0 13.2. slave mode: (voice_port_sel=1) x ==> don?t care ? ==> forbidden www.datasheet.co.kr datasheet pdf - http://www..net/
ALC5620 datasheet i 2 c + i 2 s audio codec + voice pcm interface 76 track id: jatr-1076-21 rev. 1.0 14. ordering information table 87. ordering information part number package status ALC5620-gr qfn-48 in ?green? package mp note 1: see page 5 for green package and version identification. note 2: above parts are tested under avdd1=avdd2 =3.3v. realtek semiconductor corp. headquarters no. 2, innovation road ii hsinchu science park, hsinchu 300, taiwan tel.: +886-3-578-0211. fax: +886-3-557-6047 www.realtek.com.tw www.datasheet.co.kr datasheet pdf - http://www..net/


▲Up To Search▲   

 
Price & Availability of ALC5620

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X